Skip to content

Commit

Permalink
Fix invalid release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lzm0x219 committed Dec 11, 2022
1 parent e98b5ea commit 547e9d6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ jobs:
- name: Install dependencies
run: pnpm install
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release
- name: Publish pre-release version
if: success() && github.event.type == 'published'
run: pnpm release:pre
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
# - name: Publish pre-release version
# if: success() && github.event.type == 'published'
# run: pnpm release:pre
# env:
# VSCE_PAT: ${{ secrets.VSCE_PAT }}
- name: Publish official version
if: success() && github.event.type == 'prereleased'
if: success()
run: pnpm release
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}

0 comments on commit 547e9d6

Please sign in to comment.