Skip to content

Commit

Permalink
Fix build fix (#693)
Browse files Browse the repository at this point in the history
Fix the conditional that gates installing GNU Tar. This should finally
fix the build errors we've been seeing.
  • Loading branch information
casey committed Oct 4, 2020
1 parent 935f113 commit 2909614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 2909614

Please sign in to comment.