diff --git a/.github/workflows/release-packages.yml b/.github/workflows/release-packages.yml index 89c7ea3..88d6524 100644 --- a/.github/workflows/release-packages.yml +++ b/.github/workflows/release-packages.yml @@ -209,7 +209,7 @@ jobs: shell: bash run: | set -euo pipefail - gh release upload "$TAG" dist/* --clobber - count="$(gh release view "$TAG" --json assets --jq '.assets | length')" + gh release upload "$TAG" dist/* --repo "$GITHUB_REPOSITORY" --clobber + count="$(gh release view "$TAG" --repo "$GITHUB_REPOSITORY" --json assets --jq '.assets | length')" [[ "$count" -eq 6 ]] || { echo "Expected six release assets, found $count"; exit 1; } - gh release view "$TAG" --json assets --jq '[.assets[].name]' + gh release view "$TAG" --repo "$GITHUB_REPOSITORY" --json assets --jq '[.assets[].name]'