From 17c293b3fd9793d043ab702bf3d1f375525cd685 Mon Sep 17 00:00:00 2001 From: George Hilliard Date: Thu, 10 Dec 2020 12:55:49 -0600 Subject: [PATCH] macOS: Do not cache build artifacts The GitHub-managed cache is missing crates when we cache the build. Disable this on macOS. --- .github/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 25e36a5..8fcf811 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -43,6 +43,7 @@ jobs: path: ~/.cargo/git key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }} - name: Cache cargo build + if: runner.os != 'macOS' # Random missing crates on macOS, unclear why uses: actions/cache@v1 with: path: target