fix(ci): use python yq syntax for flavours parsing
All checks were successful
poll-upstream / check (push) Successful in 1s
All checks were successful
poll-upstream / check (push) Successful in 1s
The runners have python yq (jq wrapper), not mikefarah/yq (Go). Replace -o=json -I=0 with --compact-output which is the jq equivalent. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -21,7 +21,7 @@ jobs:
|
|||||||
version="${TAG#v}"
|
version="${TAG#v}"
|
||||||
echo "version=${version}" >> "$GITHUB_OUTPUT"
|
echo "version=${version}" >> "$GITHUB_OUTPUT"
|
||||||
# Emit flavours as a JSON array for matrix consumption
|
# Emit flavours as a JSON array for matrix consumption
|
||||||
flavours=$(yq -o=json -I=0 '.flavours' flavours.yml)
|
flavours=$(yq --compact-output '.flavours' flavours.yml)
|
||||||
echo "flavours=${flavours}" >> "$GITHUB_OUTPUT"
|
echo "flavours=${flavours}" >> "$GITHUB_OUTPUT"
|
||||||
env:
|
env:
|
||||||
TAG: ${{ inputs.tag }}
|
TAG: ${{ inputs.tag }}
|
||||||
|
|||||||
Reference in New Issue
Block a user