diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-12 20:49:09 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-12 20:49:09 +0100 |
commit | 3d13939260f565fe6fb176b15e23201aafc2d11e (patch) | |
tree | 9dd2febf96ab469f00acea3418e1055acc15d999 /.github/workflows/ci.yaml | |
parent | c518fe7f6ca1c9a15d7d822654303155c90ce695 (diff) | |
parent | e99cb578c99ca574dff6073d673eef9bb96ef4e3 (diff) |
Merge #6208
6208: macOS: install GNU tar r=jonas-schievink a=jonas-schievink
CI runs on macOS have started to fail due to https://github.com/actions/cache/issues/403. Use GNU tar instead of BSD tar to work around that.
Co-authored-by: Jonas Schievink <[email protected]>
Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to '.github/workflows/ci.yaml')
-rw-r--r-- | .github/workflows/ci.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a19bc9ad3..77f2e2e16 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml | |||
@@ -42,6 +42,14 @@ jobs: | |||
42 | if: matrix.os == 'windows-latest' | 42 | if: matrix.os == 'windows-latest' |
43 | run: Rename-Item C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc.old | 43 | run: Rename-Item C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc.old |
44 | 44 | ||
45 | # Work around https://github.com/actions/cache/issues/403 by using GNU tar | ||
46 | # instead of BSD tar. | ||
47 | - name: Install GNU tar | ||
48 | if: matrix.os == 'macos-latest' | ||
49 | run: | | ||
50 | brew install gnu-tar | ||
51 | echo PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH" >> $GITHUB_ENV | ||
52 | |||
45 | - name: Install Rust toolchain | 53 | - name: Install Rust toolchain |
46 | uses: actions-rs/toolchain@v1 | 54 | uses: actions-rs/toolchain@v1 |
47 | with: | 55 | with: |