Fix build fix (#693)
Fix the conditional that gates installing GNU Tar. This should finally fix the build errors we've been seeing.
This commit is contained in:
parent
935f1130ac
commit
2909614f68
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
@ -14,7 +14,7 @@ env:
|
|||||||
# Increment to invalidate github actions caches if they become corrupt.
|
# 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"
|
# Errors of the form "can't find crate for `snafu_derive` which `snafu` depends on"
|
||||||
# can usually be fixed by incrementing this value.
|
# can usually be fixed by incrementing this value.
|
||||||
CACHE_KEY_PREFIX: 3
|
CACHE_KEY_PREFIX: 4
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
all:
|
all:
|
||||||
@ -45,7 +45,7 @@ jobs:
|
|||||||
# An issue with BSD Tar causes sporadic failures on macOS.
|
# An issue with BSD Tar causes sporadic failures on macOS.
|
||||||
# c.f https://github.com/actions/cache/issues/403
|
# c.f https://github.com/actions/cache/issues/403
|
||||||
- name: Install GNU Tar
|
- name: Install GNU Tar
|
||||||
if: matrix.build == 'macos'
|
if: matrix.os == 'macos-latest'
|
||||||
run: |
|
run: |
|
||||||
brew install gnu-tar
|
brew install gnu-tar
|
||||||
echo "::add-path::/usr/local/opt/gnu-tar/libexec/gnubin"
|
echo "::add-path::/usr/local/opt/gnu-tar/libexec/gnubin"
|
||||||
|
Loading…
Reference in New Issue
Block a user