Fix build fix

Fix the conditional that gates installing GNU Tar. This should actually
fix the build errors we've been seeing.

type: development
This commit is contained in:
Casey Rodarmor 2020-10-04 13:16:31 -07:00
parent 1e4d224dcb
commit fa78cba0a5
No known key found for this signature in database
GPG Key ID: 556186B153EC6FE0

View File

@ -14,7 +14,7 @@ env:
# Increment to invalidate github actions caches if they become corrupt.
# Errors of the form "can't find crate for `snafu_derive` which `snafu` depends on"
# can usually be fixed by incrementing this value.
CACHE_KEY_PREFIX: 2
CACHE_KEY_PREFIX: 3
jobs:
all:
@ -54,7 +54,7 @@ jobs:
# An issue with BSD Tar causes sporadic failures on macOS.
# c.f https://github.com/actions/cache/issues/403
- name: Install GNU Tar
if: matrix.build == 'macos'
if: matrix.os == 'macos-latest'
run: |
brew install gnu-tar
echo "::add-path::/usr/local/opt/gnu-tar/libexec/gnubin"