File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 44 workflow_dispatch :
55 inputs :
66 releaseType :
7- description : ' Semver Release Type (major,minor,patch)'
7+ description : " Semver Release Type (major,minor,patch)"
88 required : true
9+ default : " patch"
10+ type : choice
11+ options :
12+ - patch
13+ - minor
14+ - major
915
1016jobs :
1117 tag :
@@ -14,13 +20,13 @@ jobs:
1420 - uses : actions/checkout@v4
1521 with :
1622 token : ${{ secrets.MY_TOKEN }}
23+ - uses : pnpm/action-setup@v4
1724 - name : Validate releaseType
18- run : npx in-string-list ${{ github.event.inputs.releaseType }} major,minor,patch
25+ run : pnpx in-string-list ${{ github.event.inputs.releaseType }} major,minor,patch
1926 - name : Setup Git
2027 run : |
2128 git config --global user.name "Jonathan Johnson"
2229 git config --global user.email "jon.johnson@ucsf.edu"
23- - uses : pnpm/action-setup@v4
2430 - name : Increment Version
2531 run : pnpm version ${{ github.event.inputs.releaseType }}
2632 - name : Push Changes
You can’t perform that action at this time.
0 commit comments