Skip to content

Commit

Permalink
Publish when changesets are removed
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis committed Nov 10, 2023
1 parent a45c346 commit 3609d49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
AZURE_TOKEN: ${{ secrets.AZURE_TOKEN }}

- name: Publish to VS Code
if: steps.changesets.outputs.published == 'true'
if: steps.changesets.outputs.hasChangesets == 'false'
run: npx vsce publish --no-dependencies -p ${{ secrets.AZURE_TOKEN }}

- name: Publish to OpenVSX
if: steps.changesets.outputs.published == 'true'
if: steps.changesets.outputs.hasChangesets == 'false'
run: npx ovsx publish --no-dependencies -p ${{ secrets.OVSX_TOKEN }}

0 comments on commit 3609d49

Please sign in to comment.