File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,6 @@ name: Build and Release
44
55# Controls when the workflow will run
66on :
7- # Triggers the workflow on push or pull request events but only for the master branch
8- push :
9- branches : [ master ]
10-
117 # Allows you to run this workflow manually from the Actions tab
128 workflow_dispatch :
139 inputs :
@@ -39,11 +35,11 @@ jobs:
3935 - name : Zip disk folder
4036 run : |
4137 cd ./dist/LeetcodeSessionManager
42- zip -r ../../LeetcodeSessionManager-$(node -p "require('../../package.json').version") .zip .
38+ zip -r ../../LeetcodeSessionManager-${{ github.event.inputs.tag }} .zip .
4339
4440 - name : ' Create GitHub Release'
4541 uses : softprops/action-gh-release@v1
4642 with :
4743 files : ./LeetcodeSessionManager*.zip
4844 tag_name : v${{ github.run_number }}
49- name : Release V${{ github.run_number }}
45+ name : Release V${{ github.event.inputs.tag }}
You can’t perform that action at this time.
0 commit comments