Skip to content

Commit 6e91c63

Browse files
authored
Merge pull request #19 from joshmu/fix_permissions
fix: attempt manual pipeline publish for vscode extension
2 parents 9634084 + 552d74e commit 6e91c63

1 file changed

Lines changed: 14 additions & 10 deletions

File tree

.github/workflows/publish-vscode-extension.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,29 @@ on:
66
- master
77

88
jobs:
9-
deploy:
9+
publish:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
1313
- uses: actions/setup-node@v4
1414
with:
1515
node-version: 20
1616
- run: npm ci
17+
1718
- name: Semantic Release
1819
run: npx semantic-release
1920
env:
2021
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2122
# Add any other tokens or configuration required by semantic-release plugins
22-
- name: Publish to Open VSX Registry
23-
uses: HaaLeo/publish-vscode-extension@v1
24-
with:
25-
pat: ${{ secrets.OPEN_VSX_TOKEN }}
26-
- name: Publish to Visual Studio Marketplace
27-
uses: HaaLeo/publish-vscode-extension@v1
28-
with:
29-
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
30-
registryUrl: https://marketplace.visualstudio.com
23+
24+
- name: Install Visual Studio Marketplace CLI
25+
run: npm install -g vsce
26+
27+
- name: Package & Publish Extension to Visual Studio Marketplace
28+
run: vsce publish --pat ${{ secrets.VS_MARKETPLACE_TOKEN }}
29+
30+
- name: Install Open VSX CLI
31+
run: npm install -g ovsx
32+
33+
- name: Package & Publish Extension to Open VSX Registry
34+
run: ovsx publish --pat ${{ secrets.OPEN_VSX_TOKEN }}

0 commit comments

Comments
 (0)