Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Commit 0c5198c

Browse files
fix: fix if condition
1 parent 506d1e4 commit 0c5198c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ jobs:
2828
build:
2929
runs-on: ubuntu-latest
3030
needs: setup
31-
if: false
31+
# if services is empty, the build job is skipped
32+
if: "join(fromJSON(needs.setup.outputs.services), '') != ''"
3233
strategy:
3334
matrix:
3435
service: ${{fromJSON(needs.setup.outputs.services)}}

0 commit comments

Comments
 (0)