Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,23 @@ jobs:
env:
AZURE_ACCESS_TOKEN: ${{ secrets.AZURE_ACCESS_TOKEN }}
run: npx vsce publish --packagePath dist/*.vsix -p $AZURE_ACCESS_TOKEN

publish-open-vsx:
if: success() && startsWith(github.ref, 'refs/tags/')
name: Publish Open VSX
runs-on: ubuntu-latest
needs: build-vsix
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
node_version: ${{ env.NODE_VERSION}}

- name: Build VSIX
run: npx vsce package --out dist/upsun-cli.vsix --pre-release
shell: bash

- name: Publish to Open VSX
run: npx ovsx publish *.vsix -p ${{ secrets.OPEN_VSX_TOKEN }}
Loading