Skip to content

Commit

Permalink
fix: pipeline error in get architecture action
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsgruk committed Dec 5, 2023
1 parent 93d1199 commit a791821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get-architectures/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ runs:
yaml_path: ${{ steps.yaml-path.outputs.yaml-path }}
run: |
# Get the list as a json array. E.g. ["amd64", "arm64"]
architectures_list="$(yq -r -I=0 -o=json '[.architectures[]]' | "$yaml_path")"
architectures_list="$(yq -r -I=0 -o=json '[.architectures[]]' "$yaml_path")"
# Get the list as a space-separated string. E.g. "amd64" "arm64"
architectures="$(yq -r -I=0 -o=csv '[.architectures[]]' "$yaml_path" | tr ',' ' ')"
Expand Down

0 comments on commit a791821

Please sign in to comment.