Skip to content

Commit

Permalink
Publish to OpenVSX in release workflow (#28)
Browse files Browse the repository at this point in the history
Closes #12
  • Loading branch information
delucis authored Nov 9, 2023
1 parent 033a5a8 commit fa1ba50
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- run: pnpm i

- name: Create Release Pull Request
id: changesets
uses: changesets/action@v1
with:
version: pnpm run version
Expand All @@ -37,3 +38,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.FREDKBOT_GITHUB_TOKEN }}
AZURE_TOKEN: ${{ secrets.AZURE_TOKEN }}

- name: Publish to OpenVSX
if: steps.changesets.outputs.published == 'true'
run: npx ovsx publish -p ${{ secrets.OVSX_TOKEN }} --target win32-x64 win32-arm64 linux-x64 linux-arm64 linux-armhf darwin-x64 darwin-arm64 alpine-x64 alpine-arm64

0 comments on commit fa1ba50

Please sign in to comment.