File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 1212 type : string
1313 pr :
1414 description : " 需要合并提交"
15- type : boolean
16- default : false
15+ type : string
1716 mt :
1817 description : " 提交到市场"
19- type : boolean
20- default : false
18+ type : string
2119
2220jobs :
2321 first :
4543 git commit -m ${{ github.event.inputs.change }}
4644 git push
4745 - name : needpr
48- if : ${{ inputs.pr != '' && inputs.pr || true }}
46+ if : github.event. inputs.pr != ''
4947 run : |
5048 gh pr create -B main --title 'Merge release${{ github.event.inputs.tag }} into main' --body 'Created by Github action'
5149
5856 needs : first
5957 runs-on : ubuntu-latest
6058 timeout-minutes : 30
61- if : ${{ inputs.mt != '' && inputs.mt || true }}
59+ if : github.event. inputs.mt != ''
6260 steps :
6361 - uses : actions/checkout@v2
6462 - name : updatepackage
8684 run : npm i -g vsce
8785
8886 - name : Publish
89- if : ${{ inputs.mt != '' && inputs.mt || true }}
9087 run : vsce publish -p ${{ secrets.VSCE_PAT }}
You can’t perform that action at this time.
0 commit comments