From 2909614f685c22a9164a73282de8e338c5ac98a9 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Sun, 4 Oct 2020 13:23:27 -0700 Subject: [PATCH] Fix build fix (#693) Fix the conditional that gates installing GNU Tar. This should finally fix the build errors we've been seeing. --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6a830e0..6d27c15 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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: 3 + CACHE_KEY_PREFIX: 4 jobs: all: @@ -45,7 +45,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"