Skip to content

Commit 1a1ae95

Browse files
committed
fix: compare against boolean strings when checking if the nightly workflow was scheduled
1 parent 5133d5b commit 1a1ae95

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/nightly.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
needs_build: ${{ steps.check_manual_run.outputs.needs_build || steps.check_tags.outputs.needs_build }}
2323

2424
steps:
25-
2625
- name: Check if workflow was manually triggered
2726
id: check_manual_run
2827
run: |
@@ -35,15 +34,15 @@ jobs:
3534
fi
3635
3736
- name: Checkout code
38-
if: ${{ !steps.check_manual_run.outputs.needs_build }}
37+
if: ${{ steps.check_manual_run.outputs.needs_build == 'false' }}
3938
uses: actions/checkout@v3
4039

4140
- name: fetch tags
42-
if: ${{ !steps.check_manual_run.outputs.needs_build }}
41+
if: ${{ steps.check_manual_run.outputs.needs_build == 'false' }}
4342
run: git fetch --tags origin
4443

4544
- name: Check if tags point to the same commit or if the workflow was manually triggered
46-
if: ${{ !steps.check_manual_run.outputs.needs_build }}
45+
if: ${{ steps.check_manual_run.outputs.needs_build == 'false' }}
4746
id: check_tags
4847
run: |
4948
curr_sha=$(git rev-parse HEAD)
@@ -59,7 +58,6 @@ jobs:
5958
echo "Changes since last nightly release detected. Continuing..."
6059
echo "needs_build=true" >> $GITHUB_OUTPUT;
6160
fi
62-
6361
6462
build-meson-releases:
6563
name: Linux & macOS Release Builds

0 commit comments

Comments
 (0)