Skip to content

Commit 79de21d

Browse files
committed
fix: pass --repo flag to gh release upload (no git checkout in upload job)
Signed-off-by: Adam Burdett <burdettadam@gmail.com>
1 parent af862b8 commit 79de21d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ jobs:
148148
TAG_NAME="${GITHUB_REF#refs/tags/}"
149149
for whl in dist/*.whl; do
150150
echo "Uploading $whl..."
151-
gh release upload "$TAG_NAME" "$whl" --clobber
151+
gh release upload "$TAG_NAME" "$whl" --clobber --repo "$GITHUB_REPOSITORY"
152152
done
153153
echo "✅ All wheels uploaded"
154154
env:

0 commit comments

Comments
 (0)