Skip to content

Commit badbafd

Browse files
bradeglerverbanicm
authored andcommitted
a little jq cleanup
1 parent 3fd9563 commit badbafd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/generate-terraform-checksum.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747
curl --remote-name "${RELEASE_INFORMATION_URL}"
4848
4949
50-
export BIN_URL=$(jq -r '.builds[] | select(.os=="linux") | select(.arch=="amd64") | .url' < index.json)
51-
export BIN_FILE=$(jq -r '.builds[] | select(.os=="linux") | select(.arch=="amd64") | .filename' < index.json)
50+
export BIN_URL=$(jq -r '.builds[] | select(.os=="linux" and .arch=="amd64") | .url' < index.json)
51+
export BIN_FILE=$(jq -r '.builds[] | select(.os=="linux" and .arch=="amd64") | .filename' < index.json)
5252
export SHA_FILE=$(jq -r '.shasums' < index.json)
5353
export SIG_FILE=$(jq -r '.shasums_signature' < index.json)
5454

0 commit comments

Comments
 (0)