Skip to content

Commit

Permalink
chore: Fix nightly publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jun 14, 2024
1 parent 10eab94 commit ea7191e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ jobs:
run: echo "NPM_TAG=latest" >> $GITHUB_ENV

- name: Tag npm release (nightly)
if: ${{ contains(github.ref, 'nightly') }}
if: ${{ contains(github.event.release.tag_name, 'nightly') }}
run: echo "NPM_TAG=nightly" >> $GITHUB_ENV

- name: Install dependencies
Expand Down Expand Up @@ -513,7 +513,7 @@ jobs:
run: echo "NPM_TAG=latest" >> $GITHUB_ENV

- name: Tag npm release (nightly)
if: ${{ contains(github.ref, 'nightly') }}
if: ${{ contains(github.event.release.tag_name, 'nightly') }}
run: echo "NPM_TAG=nightly" >> $GITHUB_ENV

- name: Setup node
Expand Down Expand Up @@ -564,7 +564,7 @@ jobs:
run: echo "NPM_TAG=latest" >> $GITHUB_ENV

- name: Tag npm release (nightly)
if: ${{ contains(github.ref, 'nightly') }}
if: ${{ contains(github.event.release.tag_name, 'nightly') }}
run: echo "NPM_TAG=nightly" >> $GITHUB_ENV

- name: Setup node
Expand Down

0 comments on commit ea7191e

Please sign in to comment.