Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
illixion committed May 7, 2024
1 parent 80861e3 commit 2e8cee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
if: ${{ github.event.inputs.version != 'none' }}
run: npm version ${{ github.event.inputs.version }}
- name: Package extension
run: npx vsce package
run: npx vsce package ${{ github.event.inputs.prerelease && '--pre-release' }}
- name: Publish extension to VSCE
if: ${{ github.event.inputs.registry == 'vsce' || github.event.inputs.registry == 'both' }}
run: npx vsce publish -p ${{ secrets.VSCE_TOKEN }} --allow-star-activation --packagePath *.vsix ${{ github.event.inputs.prerelease && '--pre-release' }}
Expand Down

0 comments on commit 2e8cee5

Please sign in to comment.