Describe the bug
The follow code:
const tc = require("@actions/tool-cache")
tc.extractTar(tarball, SOURCE_DIRECTORY)
Fails to run under windows-latest (other windows version not tested).
"C:\Program Files\Git\usr\bin\tar.exe" xz -C d:\a\install-lua\install-lua\.source\ -f d:\a\_temp\5e8814d7-8526-46bd-bd88-ed84e58259a1
tar (child): Cannot connect to d: resolve failed
gzip: stdin: unexpected end of file
/usr/bin/tar: Child returned status 128
/usr/bin/tar: Error is not recoverable: exiting now
##[error]Failed to install Lua: Error: The process 'C:\Program Files\Git\usr\bin\tar.exe' failed with exit code 2
##[error]Node run failed with exit code 1
To Reproduce
Steps to reproduce the behavior:
- Use extractTar in actions scripts.
- Run the action on windows latest
Expected behavior
Show extractTar correctly on windows.
Describe the bug
The follow code:
Fails to run under windows-latest (other windows version not tested).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Show extractTar correctly on windows.