-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description:
When a node version is not found in the cache, for example when using 'current' or '19.8.1' at the moment, it appears that the action tries to download the .exe
version despite running on a linux system.
Action version:
Specify the action version
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
node: 'current' (resolved to v19.8.1)
package manager: npm
Repro steps:
GitHub workflow:
name: Repro
on: push
jobs:
repro:
runs-on: ubuntu-latest
steps:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '19.8.1'
Expected behavior:
The action downloads the binaries from the node site.
Actual behavior:
The action attempts to download the .exe version, which fails.
Example logs:
https://github.com/domdomegg/typescript-library-template/actions/runs/4430005745/jobs/7771191230
getting latest node version...
Attempting to download v19.8.1...
Not found in manifest. Falling back to download directly from Node
Acquiring 19.8.1 - x64 from https://nodejs.org/dist/v19.8.1/node-v19.8.1-linux-x64.tar.gz
Downloading only node binary from https://nodejs.org/dist/v19.8.1/win-x64/node.exe
Error: Unexpected HTTP response: 404
marbemac, NatoBoram, Qard, cbrzn, Meemaw and 6 moreQard, Meemaw, wilsonehusin, agurtovoy, john-motif and 1 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working