Skip to content

Commit 295069d

Browse files
authored
Fix any_builds CI check on Linux (#439)
I flubbed this in #438
1 parent cb5578c commit 295069d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/linux.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
image:
4949
needs:
5050
- generate-matrix
51-
if: ${{ needs.generate-matrix.outputs.any_builds }}
51+
if: ${{ needs.generate-matrix.outputs.any_builds == 'true' }}
5252
strategy:
5353
fail-fast: false
5454
matrix:
@@ -122,6 +122,7 @@ jobs:
122122
runs-on: ubuntu-latest
123123
outputs:
124124
matrix: ${{ steps.set-matrix.outputs.matrix }}
125+
any_builds: ${{ steps.set-matrix.outputs.any_builds }}
125126
steps:
126127
- uses: actions/checkout@v4
127128

@@ -147,7 +148,7 @@ jobs:
147148
echo "any_builds=true" >> $GITHUB_OUTPUT
148149
else
149150
# Build matrix is empty
150-
echo "any_builds=true" >> $GITHUB_OUTPUT
151+
echo "any_builds=false" >> $GITHUB_OUTPUT
151152
fi
152153
153154
build:

0 commit comments

Comments
 (0)