Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,10 @@ jobs:
# `.npmrc` that `setup-node` generates, and npm then fails `ENEEDAUTH`
# before OIDC is ever attempted. Do not "restore" it.
run: |
set -- release-tarball/*.tgz
# `./` is load-bearing: `npm publish` reads a bare `dir/file`
# argument as GitHub `owner/repo` shorthand and tries to clone it
# over SSH instead of publishing the local tarball (#2551).
set -- ./release-tarball/*.tgz
if [ "$#" -ne 1 ] || [ ! -f "$1" ]; then
echo "Expected exactly one tarball in release-tarball/, found: $*"
exit 1
Expand Down
Loading