Skip to content

Commit

Permalink
build: fix github action variable syntax issue
Browse files Browse the repository at this point in the history
  • Loading branch information
scolladon committed Apr 24, 2024
1 parent 56b286b commit 26385bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/on-main-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
release:
needs: [prepare-release]
runs-on: ubuntu-latest
if: needs.prepare-release.outputs.release_created == 'true'
if: ${{ needs.prepare-release.outputs.release_created == 'true' }}
steps:
- name: Checkout sources
uses: actions/checkout@v4
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
perf:
needs: [prepare-release]
runs-on: ubuntu-latest
if: needs.prepare-release.outputs.release_created != 'true' && needs.prepare-release.outputs.prs_created == 'true'
if: ${{ needs.prepare-release.outputs.release_created != 'true' && needs.prepare-release.outputs.prs_created == 'true' }}
steps:
- name: Checkout sources
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on-merged-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
clean-npm-dev-version:
if: github.event.pull_request.merged == true
if: ${{ github.event.pull_request.merged == 'true' }}
runs-on: ubuntu-latest
steps:
- name: Checkout sources
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
publish-dev:
needs: [build]
runs-on: ubuntu-latest
if: github.event.pull_request.merged != 'true' && github.actor != 'dependabot[bot]'
if: ${{ github.event.pull_request.merged != 'true' && github.actor != 'dependabot[bot]' }}
outputs:
devChannel: ${{ steps.define_dev_channel.outputs.DEV_CHANNEL }}
steps:
Expand Down

0 comments on commit 26385bf

Please sign in to comment.