action download fails to extract archive file
See original GitHub issueDescription: The setup-node action cannot be downloaded
Action version: v3
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version: n/a
Repro steps:
use the action in a workflow
Expected behavior: the action downloads and is used
Actual behavior: the action cannot be downloaded due to:
Download action repository 'actions/setup-node@v3' (SHA:5b9[49](https://github.com/ideacrew/enroll/runs/7309204561?check_suite_focus=true#step:1:53)b50c3461bbcd5a540b150c368278160234a)
##[debug]Download 'https://api.github.com/repos/actions/setup-node/tarball/5b949b50c3461bbcd5a540b150c368278160234a' to '/home/runner/work/_actions/_temp_5db10cf7-c813-4a48-be47-45d74a09eaa7/77720dc4-ac1f-4e76-9010-ecf0b2b7adb2.tar.gz'
Error: Can't use 'tar -xzf' extract archive file: /home/runner/work/_actions/_temp_5db10cf7-c813-4a48-be47-45d74a09eaa7/77720dc4-ac1f-4e76-9010-ecf0b2b7adb2.tar.gz. return code: 2.
##[debug]System.NotSupportedException: Can't use 'tar -xzf' extract archive file: /home/runner/work/_actions/_temp_5db10cf7-c813-4a48-be47-45d74a09eaa7/77720dc4-ac1f-4e76-9010-ecf0b2b7adb2.tar.gz. return code: 2.
here is a dump from a successful download action:
Download action repository 'actions/checkout@v3' (SHA:25[41](https://github.com/ideacrew/enroll/runs/7309204561?check_suite_focus=true#step:1:45)b1294d2704b0964813337f33b291d3f8596b)
##[debug]Download 'https://api.github.com/repos/actions/checkout/tarball/2541b1294d2704b0964813337f33b291d3f8596b' to '/home/runner/work/_actions/_temp_8658b1a3-50c0-48d5-a019-faa131ff87a7/a304dd22-9a2a-4980-bd2d-4e2fd9524024.tar.gz'
##[debug]Unwrap 'actions-checkout-2541b12' to '/home/runner/work/_actions/actions/checkout/v3'
##[debug]Archive '/home/runner/work/_actions/_temp_8658b1a3-50c0-48d5-a019-faa131ff87a7/a304dd22-9a2a-4980-bd2d-4e2fd9524024.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/checkout/v3'.
Issue Analytics
- State:
- Created a year ago
- Reactions:16
- Comments:11 (4 by maintainers)
Top Results From Across the Web
extract an archive file failed - Power Platform Community
I have made a test based on “Extract archive to folder” action of OneDrive for Business connector on my side and the zip...
Read more >Windows 10 download fails to install message is fails to ...
Windows 10 download fails to install message is fails to extract archive · 1. Delete all downloaded turbotax install files. · 2. Turn-off...
Read more >Tips to Fix Windows Cannot Complete the Extraction
A possible reason why you are encountering the Windows cannot complete the extraction error, is that the zip file is located in a...
Read more >Extract command fails - Content Authoring
The fixlet's action can successfully download the zipped file from my server, but the extract command fails. All that is in the log...
Read more >Users receive errors when attempting to extract (unzip) ...
Cannot open file: it does not appear to be a valid archive. If you downloaded this file, try downloading the file again.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello everyone. Thank you for your reports. I think it’s GitHub internals issue because the same behaviour can be reproduced with some other actions.
@djalmaaraujo afaik you can only delete using the api, this may be helpful https://gist.github.com/dudadornelles/eacf6f3a796a0b509fac9ef9a7da59b9