Skip to content

Commit 5590745

Browse files
committed
Fail workflow if getter.py fails
1 parent 099f380 commit 5590745

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/CI.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
- uses: actions/checkout@v4
2020
- id: set-matrix
2121
run: |
22-
echo "matrix={\"node\":[$(python getter.py)]}" >> $GITHUB_OUTPUT
22+
set -e
23+
NODES=$(python getter.py)
24+
echo "matrix={\"node\":[${NODES}]}" >> "$GITHUB_OUTPUT"
2325
- name: "Set Up Julia"
2426
uses: julia-actions/setup-julia@v2
2527
with:

0 commit comments

Comments
 (0)