From 831cc32bdf7443a24e07126d1afce72942778eec Mon Sep 17 00:00:00 2001 From: Olize <53581423+Olize@users.noreply.github.com> Date: Wed, 21 Oct 2026 12:59:15 -0400 Subject: [PATCH] fix(ci): specify repository for release uploads from checkout-free publisher --- .github/workflows/release-packages.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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]'