Skip to content

Commit

Permalink
build(release): fix env checks
Browse files Browse the repository at this point in the history
  • Loading branch information
paradoxuum committed Jul 19, 2024
1 parent 327b295 commit b4f6756
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ jobs:
yarn workspace @rbxts/centurion version $VERSION
- name: Publish @latest
if: !env.nightly
if: env.nightly == 'false'
run: yarn workspace @rbxts/centurion npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish @next
if: env.nightly
if: env.nightly == 'true'
run: yarn workspace @rbxts/centurion npm publish --tag next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/release-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ jobs:
yarn workspace @rbxts/centurion-ui version $VERSION
- name: Publish @latest
if: !env.nightly
if: env.nightly == 'false'
run: yarn workspace @rbxts/centurion-ui npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish @next
if: env.nightly
if: env.nightly == 'true'
run: yarn workspace @rbxts/centurion-ui npm publish --tag next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit b4f6756

Please sign in to comment.