fix: specify --repo when calling gh (#3806)
Often, `gh` infers `--repo` when it is run from a Git clone, but our `publish-npm` step is designed to avoid the overhead of cloning the repo, so add the `--repo` option explicitly to fix things.
This commit is contained in:
parent
5332f6e215
commit
e5fdb5b0fd
1 changed files with 1 additions and 0 deletions
1
.github/workflows/rust-release.yml
vendored
1
.github/workflows/rust-release.yml
vendored
|
|
@ -260,6 +260,7 @@ jobs:
|
|||
tag="${{ needs.release.outputs.tag }}"
|
||||
mkdir -p dist/npm
|
||||
gh release download "$tag" \
|
||||
--repo "${GITHUB_REPOSITORY}" \
|
||||
--pattern "codex-npm-${version}.tgz" \
|
||||
--dir dist/npm
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue