Skip to content

Commit

Permalink
fix: attempt manual pipeline publish for vscode extension
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmu committed Apr 1, 2024
1 parent d749b9a commit 552d74e
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/publish-vscode-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,29 @@ on:
- master

jobs:
deploy:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci

- name: Semantic Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Add any other tokens or configuration required by semantic-release plugins
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.OPEN_VSX_TOKEN }}
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com

- name: Install Visual Studio Marketplace CLI
run: npm install -g vsce

- name: Package & Publish Extension to Visual Studio Marketplace
run: vsce publish --pat ${{ secrets.VS_MARKETPLACE_TOKEN }}

- name: Install Open VSX CLI
run: npm install -g ovsx

- name: Package & Publish Extension to Open VSX Registry
run: ovsx publish --pat ${{ secrets.OPEN_VSX_TOKEN }}

0 comments on commit 552d74e

Please sign in to comment.