Skip to content

Commit eeb279a

Browse files
committed
ci(release): use --repo flag for merged manifest upload
gh release upload only accepts <tag> <files>... positionals; the previous --repo-as-positional caused the tag to be globbed as a file ('no matches found'). Use the global --repo flag instead.
1 parent a9c82b9 commit eeb279a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,10 @@ jobs:
323323
env:
324324
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
325325
TAG: ${{ inputs.tag || github.ref_name }}
326-
# This job has no checkout, so gh cannot auto-detect the repo; pass
327-
# --repo explicitly (GITHUB_REPOSITORY is set on every runner).
328-
run: gh release upload "$GITHUB_REPOSITORY" "$TAG" /tmp/latest-mac.yml --clobber
326+
# This job has no checkout, so gh cannot auto-detect the repo. Pass
327+
# --repo explicitly (GITHUB_REPOSITORY is set on every runner) — gh
328+
# release upload does NOT accept a repo positional.
329+
run: gh release upload --repo "$GITHUB_REPOSITORY" "$TAG" /tmp/latest-mac.yml --clobber
329330

330331
notify:
331332
needs: [notes, build, merge-mac-manifest]

0 commit comments

Comments
 (0)