Skip to content

Commit a990c38

Browse files
committed
Add osvx packages to cd
1 parent 0f4dddb commit a990c38

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,22 @@ jobs:
2323
run: npm run test
2424

2525
- name: Set up publishing
26-
run: npm install vsce --save-dev
26+
run: |
27+
npm install vsce --save-dev
28+
npm install ovsx --save-dev
2729
2830
- name: Publish
2931
run: npm run deploy
3032
env:
3133
VSCE_PAT: ${{ secrets.VSCE_PAT }}
32-
34+
35+
- name: Create OVSX Package
36+
run: npx vsce package --out package.vsix
37+
38+
- name: Publish OVSX Package
39+
run: |
40+
npx ovsx publish package.vsix --pat ${{ secrets.OVSX_PAT }}
41+
3342
- name: Read package.json
3443
id: package-json
3544
run: |
@@ -38,7 +47,7 @@ jobs:
3847
content="${content//$'\n'/'%0A'}"
3948
content="${content//$'\r'/'%0D'}"
4049
echo "::set-output name=packageJson::$content"
41-
50+
4251
- name: Get Changelog
4352
id: changelog
4453
run: |

0 commit comments

Comments
 (0)