File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1- name : Publish VSCode Extension
1+ name : Publish VS Code Extension
22
33on :
4- push :
5- tags :
6- - ' v*' # Jede Version wie v1.0.0 triggert Release & Publish
4+ workflow_dispatch :
5+
6+ permissions :
7+ contents : read
78
89jobs :
910 build :
1011 runs-on : ubuntu-latest
11-
1212 steps :
1313 - name : Checkout repository
1414 uses : actions/checkout@v4
3939 release :
4040 needs : build
4141 runs-on : ubuntu-latest
42-
42+ permissions :
43+ contents : write
4344 steps :
4445 - name : Download artifact
4546 uses : actions/download-artifact@v4
5657 publish :
5758 needs : release
5859 runs-on : ubuntu-latest
59-
6060 steps :
6161 - name : Checkout repository
6262 uses : actions/checkout@v4
7777 - name : Publish to VSCode Marketplace
7878 run : vsce publish --packagePath *.vsix
7979 env :
80- VSCE_PAT : ${{ secrets.VSCE_PAT }}
80+ VSCE_PAT : ${{ secrets.VSCE_PAT }}
You can’t perform that action at this time.
0 commit comments