Skip to content

Commit 3157ec6

Browse files
authored
Update main.yml
1 parent c47559d commit 3157ec6

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@ on:
77
# Triggers the workflow on push or pull request events but only for the master branch
88
push:
99
branches: [ master ]
10-
pull_request:
11-
branches: [ master ]
1210

1311
# Allows you to run this workflow manually from the Actions tab
1412
workflow_dispatch:
1513
inputs:
16-
logLevel:
14+
tag:
1715
description: 'tag number'
1816
required: true
1917

@@ -41,25 +39,8 @@ jobs:
4139
- name: Zip disk folder
4240
run: |
4341
cd ./dist/LeetcodeSessionManager
44-
zip -r ../../LeetcodeSessionManager-$(node -p "require('./package.json').version").zip .
42+
zip -r ../../LeetcodeSessionManager-$(node -p "require('../../package.json').version").zip .
4543
46-
- name: 'Upload Build Artifacts'
47-
uses: actions/upload-artifact@v2
48-
with:
49-
name: dist
50-
path: ./LeetcodeSessionManager*.zip
51-
52-
release-content:
53-
name: 'Create GitHub Release'
54-
runs-on: ubuntu-latest
55-
needs: [ build ]
56-
env:
57-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58-
steps:
59-
- name: 'Download Presentation Artifacts'
60-
uses: actions/download-artifact@v2
61-
with:
62-
name: dist
6344
- name: 'Create GitHub Release'
6445
uses: softprops/action-gh-release@v1
6546
with:

0 commit comments

Comments
 (0)