Skip to content

Commit

Permalink
Fix npm release workflow download paths
Browse files Browse the repository at this point in the history
The decompression path was incorrect, causing the `Publish to NPM`
workflow to fail. It should start with
`$GITHUB_WORKSPACE/release-downloads/`.
  • Loading branch information
mrbbot committed Apr 29, 2023
1 parent ecf97fe commit d52b642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
# release-downloader does not support .gz files (unlike .tar.gz), decompress manually
# Using the -N flag the right file name should be restored
- run: gzip -dN workerd-${{ matrix.arch }}.gz
- run: gzip -dN $GITHUB_WORKSPACE/release-downloads/workerd-${{ matrix.arch }}.gz
- run: chmod +x $GITHUB_WORKSPACE/release-downloads/workerd
if: matrix.arch != 'windows-64'
- run: mkdir npm/workerd-${{ matrix.arch }}/bin
Expand Down

0 comments on commit d52b642

Please # to comment.