Skip to content

Commit

Permalink
[ci] fix cache workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
anp committed Oct 18, 2020
1 parent 96797fa commit ff1de66
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: ensure lockfile up to date
run: cargo generate-lockfile --manifest-path ofl/Cargo.toml
- name: install gnu tar to work around https://github.com/actions/cache/issues/403
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 Expand Up @@ -65,7 +65,7 @@ jobs:
- name: ensure lockfile up to date
run: cargo generate-lockfile
- name: install gnu tar to work around https://github.com/actions/cache/issues/403
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 Expand Up @@ -111,7 +111,7 @@ jobs:
- name: ensure lockfile up to date
run: cargo generate-lockfile
- name: install gnu tar to work around https://github.com/actions/cache/issues/403
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 Expand Up @@ -156,7 +156,7 @@ jobs:
- name: ensure lockfile up to date
run: cargo generate-lockfile
- name: install gnu tar to work around https://github.com/actions/cache/issues/403
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 ff1de66

Please sign in to comment.