Skip to content

Commit 66f77c6

Browse files
committed
ci: fix template expansion
Signed-off-by: Niccolò Fei <[email protected]>
1 parent 641d8ff commit 66f77c6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/bake.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ jobs:
3333
# Compute a matrix containing the list of all extensions that have been modified
3434
- name: Compute matrix
3535
id: get-matrix
36+
env:
37+
# JSON array containing the extensions that have been changed
38+
EXTENSIONS_CHANGED: ${{ steps.filter.outputs.changes }}
3639
run: |
37-
raw='${{ steps.filter.outputs.changes }}'
38-
echo "{\"name\": $raw}" > matrix.json
39-
cat matrix.json
40+
echo "{\"name\": $EXTENSIONS_CHANGED}" > matrix.json
4041
echo "matrix=$(cat matrix.json)" >> "$GITHUB_OUTPUT"
4142
4243
Bake:

0 commit comments

Comments
 (0)