Skip to content

Commit

Permalink
Install GNU tar as a workaround of the BSD tar being broken on Github…
Browse files Browse the repository at this point in the history
… macos machines. actions/cache#403
  • Loading branch information
Ran Magen committed Aug 31, 2020
1 parent 00b2034 commit 655e00d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/slow-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,13 @@ jobs:
override: true

### BUILD CACHE ###
# NB: We install gnu-tar because BSD tar is buggy on Github's macos machines. https://github.com/actions/cache/issues/403
- name: Install GNU tar
if: matrix.build == 'macos'
run: |
brew install gnu-tar
echo "::add-path::/usr/local/opt/gnu-tar/libexec/gnubin"
- name: Cache Cargo registry, target, index
# we skip caching on macos because of the flaky `thiserror_impl` problem.
# see https://github.com/apollographql/rust/issues/123
if: matrix.build != 'macos'
uses: actions/cache@v2
with:
path: |
Expand Down

0 comments on commit 655e00d

Please sign in to comment.