Skip to content

Commit

Permalink
feat(ci): publish on release
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Paraskos committed Oct 13, 2022
1 parent 9fb00da commit f7cd590
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
with:
tag: ${{ steps.current_version.outputs.version }}-nightly-${{ github.run_number }}
tag_name: ${{ steps.current_version.outputs.version }}-nightly-${{ github.run_number }}
name: Nightly Build ${{ github.run_number }}
draft: false
prerelease: true
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
- name: Do something when a new release published
if: steps.semantic.outputs.new_release_published == 'true'
run: |
echo ver: ${{ steps.semantic.outputs.new_release_version }}
echo maj: ${{ steps.semantic.outputs.new_release_major_version }}
echo min: ${{ steps.semantic.outputs.new_release_minor_version }}
echo pat: ${{ steps.semantic.outputs.new_release_patch_version }}
npx vsce publish
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}

0 comments on commit f7cd590

Please sign in to comment.