From f8be6c636cf66f638befef9c3425b3685ced45a2 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Mon, 12 Oct 2020 19:19:24 +0200 Subject: macOS: install GNU tar --- .github/workflows/ci.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.github') diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a19bc9ad3..5e92fbb6d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -42,6 +42,12 @@ jobs: if: matrix.os == 'windows-latest' 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 + - name: Install GNU tar + if: matrix.os == 'macos-latest' + run: | + brew install gnu-tar + echo PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH" >> $GITHUB_ENV + - name: Install Rust toolchain uses: actions-rs/toolchain@v1 with: -- cgit v1.2.3 From 1cb64a70d643a194839120350f5bbc619314205a Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Mon, 12 Oct 2020 19:55:55 +0200 Subject: Add comment and link to upstream issue --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.github') diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5e92fbb6d..77f2e2e16 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -42,6 +42,8 @@ jobs: if: matrix.os == 'windows-latest' 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 + # Work around https://github.com/actions/cache/issues/403 by using GNU tar + # instead of BSD tar. - name: Install GNU tar if: matrix.os == 'macos-latest' run: | -- cgit v1.2.3