Skip to content

Commit

Permalink
Fix typo in CI
Browse files Browse the repository at this point in the history
This prevented the artifacts from being published.
  • Loading branch information
sgraband committed Mar 6, 2024
1 parent 7c67236 commit 786ccfd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/reusable-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
check-version:
runs-on: ubuntu-latest
if: github.event_name == 'next'
if: github.event_name == 'push'
outputs:
is_next_version: ${{ steps.version_check.outputs.is_next_version }}
steps:
Expand All @@ -56,7 +56,7 @@ jobs:
publish-next:
runs-on: ubuntu-latest
needs: check-version
if: github.event_name == 'next' && needs.check-version.outputs.is_next_version == 'true'
if: github.event_name == 'push' && needs.check-version.outputs.is_next_version == 'true'

steps:
- name: Checkout Repository
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

check-version:
runs-on: ubuntu-latest
if: github.event_name == 'next'
if: github.event_name == 'push'
outputs:
is_next_version: ${{ steps.version_check.outputs.is_next_version }}
steps:
Expand All @@ -49,7 +49,7 @@ jobs:
publish-next:
runs-on: ubuntu-latest
needs: check-version
if: github.event_name == 'next' && needs.check-version.outputs.is_next_version == 'true'
if: github.event_name == 'push' && needs.check-version.outputs.is_next_version == 'true'
defaults:
run:
working-directory: ./node
Expand Down

0 comments on commit 786ccfd

Please sign in to comment.