Skip to content

Commit 969d5f3

Browse files
Sozhan308tarleb
authored andcommittedMar 11, 2025
[CI] fix CI workflow syntax issue
1 parent aee621a commit 969d5f3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎.github/workflows/build.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
else
5353
MATRIX="${MATRIX},"
5454
fi
55-
MATRIX="${MATRIX}{\"stack\":\"{$STACK:-alpine}\",\"version\":\"${VERSION:-main}\"}"
55+
MATRIX="${MATRIX}{\"stack\":\"${STACK:-alpine}\",\"version\":\"${VERSION:-main}\"}"
5656
fi
5757
fi
5858
done
@@ -114,7 +114,7 @@ jobs:
114114

115115
typst:
116116
name: Typst (${{ matrix.stack }})
117-
if: ${{ matrix.stack != 'static' }}
117+
if: ${{ !contains(toJSON(needs.prepare.outputs.matrix), '"stack":"static"') }}
118118
needs: [prepare, core]
119119
strategy:
120120
matrix: ${{ fromJSON(needs.prepare.outputs.matrix) }}
@@ -128,7 +128,7 @@ jobs:
128128

129129
latex:
130130
name: LaTeX (${{ matrix.stack }})
131-
if: ${{ matrix.stack != 'static' }}
131+
if: ${{ !contains(toJSON(needs.prepare.outputs.matrix), '"stack":"static"') }}
132132
needs: [prepare, core]
133133
strategy:
134134
matrix: ${{ fromJSON(needs.prepare.outputs.matrix) }}
@@ -142,6 +142,7 @@ jobs:
142142

143143
extra:
144144
name: Extra (${{ matrix.stack }})
145+
if: ${{ !contains(toJSON(needs.prepare.outputs.matrix), '"stack":"static"') }}
145146
needs: [prepare, latex]
146147
strategy:
147148
matrix: ${{ fromJSON(needs.prepare.outputs.matrix) }}

0 commit comments

Comments
 (0)
Please sign in to comment.