File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,12 @@ jobs:
30
30
- name : Install dependencies
31
31
run : |
32
32
npm install
33
- npm install -g @vscode/vsce
33
+ npm install -g @vscode/vsce ovsx
34
34
35
35
- name : Code Linting
36
36
run : npm run lint
37
37
38
38
- name : Build extension
39
- env :
40
- SENTRY_AUTH_TOKEN : ${{ secrets.SENTRY_AUTH_TOKEN }}
41
39
run : vsce package
42
40
43
41
- name : Upload extension package to artifacts
@@ -47,13 +45,16 @@ jobs:
47
45
path : " *.vsix"
48
46
if-no-files-found : error
49
47
50
- - name : Publish extension to marketplace
48
+ - name : Publish extension to marketplaces
51
49
# it runs on tag creation only which starts with 'v' (e.g., v1.0.0)
52
50
if : startsWith(github.ref, 'refs/tags/v')
53
51
env :
54
52
SENTRY_AUTH_TOKEN : ${{ secrets.SENTRY_AUTH_TOKEN }}
55
53
VSCE_PAT : ${{ secrets.VSCODE_MARKETPLACE_TOKEN }}
56
- run : vsce publish
54
+ OVSX_PAT : ${{ secrets.OPEN_VSX_MARKETPLACE_TOKEN }}
55
+ run : |
56
+ vsce publish
57
+ ovsx publish
57
58
58
59
- name : Publish extension to GitHub Release
59
60
# it runs on tag creation only which starts with 'v' (e.g., v1.0.0)
You can’t perform that action at this time.
0 commit comments