Skip to content

Commit

Permalink
Merge pull request #14 from jnsgruk/main
Browse files Browse the repository at this point in the history
fix: pipeline error in get architecture action
  • Loading branch information
merlijn-sebrechts authored Dec 5, 2023
2 parents 93d1199 + a791821 commit 94092c9
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 94092c9

Please sign in to comment.