Runner: v2.164.0 OSX binary cannot unarchive

Created on 20 Jan 2020  路  2Comments  路  Source: actions/runner

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:

  1. Run curl -O https://github.com/actions/runner/releases/download/v2.164.0/actions-runner-osx-x64-2.164.0.tar.gz
  2. Run tar xzf ./actions-runner-osx-x64-2.164.0.tar.gz
  3. See error
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.

Expected behavior
The tar command succeeds and the files are unpacked.

Runner Version and Platform

v2.164.0

OS of the machine running the runner? -> OSX

What's not working?

$ 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.

Job Log Output

None

Runner and Worker's Diagnostic Logs

None

bug

Most helpful comment

Try Curl -O -L to follow redirect

All 2 comments

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.

Was this page helpful?
0 / 5 - 0 ratings