Skip to content

Commit c82ec5a

Browse files
committed
prerelease
1 parent 155c4de commit c82ec5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ jobs:
138138
# Build the image only on push to master or on tagged releases.
139139
if: github.event_name == 'push' && (startsWith(github.ref, 'refs/heads/master') || startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/prerelease/'))
140140
runs-on: ubuntu-latest
141-
needs: ${{ startsWith(github.ref, 'refs/heads/prerelease/') && '[]' || 'spec-tests' }}
141+
needs: ${{ !startsWith(github.ref, 'refs/heads/prerelease/') && fromJSON('["spec-tests"]') || fromJSON('[]') }}
142142
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
143143
permissions:
144144
contents: read

0 commit comments

Comments
 (0)