Skip to content

Commit

Permalink
fix dump
Browse files Browse the repository at this point in the history
  • Loading branch information
devhawk committed Feb 2, 2024
1 parent 7689a18 commit e27aa9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@ jobs:
core.setOutput('preRelease', preRelease);
core.setOutput('extensionVersion', extensionVersion);
- name: Dump job context
- name: Dump Release Info
env:
PRE_RELEASE: ${{ steps.relInfo.outputs.preRelease }}
EXT_VERSION: ${{ steps.relInfo.outputs.extensionVersion }}
run: echo "$PRE_RELEASE $EXT_VERSION"
run: echo "version $EXT_VERSION\n prerelease $PRE_RELEASE"
- name: Pack Extension
if: ${{ steps.relInfo.outputs.preRelease != 'true' }}
run: npx vsce pack ${{ steps.relInfo.outputs.extensionVersion }} --no-git-tag-version
- name: Pack Pre-Release Extension
if: ${{ steps.relInfo.outputs.preRelease }} == 'true'
if: ${{ steps.relInfo.outputs.preRelease == 'true' }}
run: npx vsce pack ${{ steps.relInfo.outputs.extensionVersion }} --no-git-tag-version --pre-release
- name: Upload Extension Artifact
uses: actions/[email protected]
Expand Down

0 comments on commit e27aa9c

Please sign in to comment.