Skip to content

Commit

Permalink
Update "tags" selector in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
tianon committed May 13, 2024
1 parent 06c14d1 commit a268733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
mkdir build
# TODO signing prototype -- starting very small
shouldSign="$(jq <<<"$json" '.build.arch == "amd64" and any(.source.tags[]; startswith("notary:"))')"
shouldSign="$(jq <<<"$json" '.build.arch == "amd64" and any(.source.arches[.build.arch].tags[]; startswith("notary:"))')"
[ "$shouldSign" = 'true' ] || [ "$shouldSign" = 'false' ] || exit 1
echo "shouldSign=$shouldSign" >> "$GITHUB_ENV"
Expand Down

0 comments on commit a268733

Please sign in to comment.