Skip to content

Commit

Permalink
fix(ci): env.is-prerelease is a string, not a boolean (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
EverlastingBugstopper authored Apr 13, 2021
1 parent 7fc436a commit c03cd4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -317,13 +317,13 @@ jobs:
- name: Publish to npm (stable)
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
if: ${{ !env.is-prerelease }}
if: ${{ env.is-prerelease == 'false' }}
working-directory: ${{ env.npm-dir }}
run: npm publish --tag stable
run: npm publish

- name: Publish to npm (prerelease)
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
if: ${{ env.is-prerelease }}
if: ${{ env.is-prerelease == 'true' }}
working-directory: ${{ env.npm-dir }}
run: npm publish --tag beta

0 comments on commit c03cd4f

Please sign in to comment.