Skip to content

Commit fc2deaf

Browse files
committed
Specify --repo when calling gh
1 parent 8e8d739 commit fc2deaf

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

‎.github/workflows/publish-artifacts.yaml‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
runner: ubuntu-latest
1919
- package: x86_64-linux
2020
runner: ubuntu-latest
21-
- package: aarch64-darwin
22-
runner: macos-14
23-
- package: x86_64-darwin
24-
runner: macos-14
21+
# - package: aarch64-darwin
22+
# runner: macos-14
23+
# - package: x86_64-darwin
24+
# runner: macos-14
2525
steps:
2626
- uses: actions/checkout@v6
2727

@@ -67,7 +67,7 @@ jobs:
6767
exists=false
6868
command=create
6969
70-
if gh release view "$RELEASE_TAG" >/dev/null 2>&1; then
70+
if gh release view "$RELEASE_TAG" --repo "$GITHUB_REPOSITORY" >/dev/null 2>&1; then
7171
exists=true
7272
command=edit
7373
fi
@@ -85,9 +85,9 @@ jobs:
8585
args+=(--latest)
8686
fi
8787
88-
gh release "$command" "${args[@]}"
88+
gh release "$command" --repo "$GITHUB_REPOSITORY" "${args[@]}"
8989
9090
- name: Upload release artifacts
9191
env:
9292
GH_TOKEN: ${{ github.token }}
93-
run: gh release upload "$RELEASE_TAG" dist/* --clobber
93+
run: gh release upload "$RELEASE_TAG" dist/* --clobber --repo "$GITHUB_REPOSITORY"

0 commit comments

Comments
 (0)