Describe the bug
v2.164.0 OSX binary cannot unarchive.
I got below error.
tar xzf ./actions-runner-osx-x64-2.164.0.tar.gz
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
Then tried previous v2.163.1, it worked fine.
To Reproduce
Steps to reproduce the behavior:
curl -O https://github.com/actions/runner/releases/download/v2.164.0/actions-runner-osx-x64-2.164.0.tar.gztar xzf ./actions-runner-osx-x64-2.164.0.tar.gztar: Unrecognized archive format
tar: Error exit delayed from previous errors.
Expected behavior
The tar command succeeds and the files are unpacked.
v2.164.0
OS of the machine running the runner? -> OSX
$ curl -O https://github.com/actions/runner/releases/download/v2.164.0/actions-runner-osx-x64-2.164.0.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 628 0 628 0 0 422 0 --:--:-- 0:00:01 --:--:-- 422
$ ll -tr
total 8
-rw-r--r-- 1 morihaya staff 628B Jan 20 17:13 actions-runner-osx-x64-2.164.0.tar.gz
$ tar xzf ./actions-runner-osx-x64-2.164.0.tar.gz
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
None
None
Try Curl -O -L to follow redirect
Thank you @TingluoHuang , it worked !
$ curl -O -L https://github.com/actions/runner/releases/download/v2.164.0/actions-runner-osx-x64-2.164.0.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 628 0 628 0 0 1276 0 --:--:-- --:--:-- --:--:-- 1273
100 50.0M 100 50.0M 0 0 3287k 0 0:00:15 0:00:15 --:--:-- 8387k
$ ll actions-runner-osx-x64-2.164.0.tar.gz
-rw-r--r-- 1 morihaya staff 50M Jan 21 01:43 actions-runner-osx-x64-2.164.0.tar.gz
This issue will be closed.
Most helpful comment
Try Curl -O -L to follow redirect