File tree Expand file tree Collapse file tree 1 file changed +25
-3
lines changed
Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Original file line number Diff line number Diff line change 5353 if-no-files-found : error
5454
5555
56- publish :
56+ create-release :
5757 needs :
5858 - test
5959 - package
@@ -71,17 +71,39 @@ jobs:
7171 fail_on_unmatched_files : true
7272 files : ${{ env.VSIX_FILE }}
7373
74+
75+ publish-vsce :
76+ needs :
77+ - create-release
78+ if : startsWith(github.ref, 'refs/tags/')
79+ runs-on : ubuntu-latest
80+ steps :
81+ - name : Download artifact
82+ uses : actions/download-artifact@v4
83+ with :
84+ name : ${{ env.VSIX_FILE }}
85+
7486 - id : publish_to_marketplace
7587 name : Publish to VS Code Marketplace
76- if : always()
7788 uses : HaaLeo/publish-vscode-extension@v1
7889 with :
7990 pat : ${{ secrets.VSCE_PAT }}
8091 registryUrl : https://marketplace.visualstudio.com
8192 extensionFile : ${{ env.VSIX_FILE }}
8293
94+
95+ publish-open-vsx :
96+ needs :
97+ - create-release
98+ if : startsWith(github.ref, 'refs/tags/')
99+ runs-on : ubuntu-latest
100+ steps :
101+ - name : Download artifact
102+ uses : actions/download-artifact@v4
103+ with :
104+ name : ${{ env.VSIX_FILE }}
105+
83106 - name : Publish to Open VSX Registry
84- if : always()
85107 uses : HaaLeo/publish-vscode-extension@v1
86108 with :
87109 pat : ${{ secrets.OPEN_VSX_PAT }}
You can’t perform that action at this time.
0 commit comments