From 2170234f6a0e09a5460f2a565808b9adb99a6691 Mon Sep 17 00:00:00 2001 From: Anton Baliasnikov Date: Wed, 27 Nov 2024 22:05:29 +0000 Subject: [PATCH] fix: add macos arm64 into exceptions for rust cache --- .github/actions/rust-unit-tests/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/rust-unit-tests/action.yml b/.github/actions/rust-unit-tests/action.yml index c938268..3e65441 100644 --- a/.github/actions/rust-unit-tests/action.yml +++ b/.github/actions/rust-unit-tests/action.yml @@ -34,6 +34,7 @@ runs: echo "target=--target ${{ inputs.target }}" >> "${GITHUB_OUTPUT}" - name: Rust cache + if: ${{ !(runner.os == 'macOS' && runner.arch == 'arm64') }} uses: Swatinem/rust-cache@v2 with: shared-key: "rust-cargo-cache-${{ runner.os }}-${{ runner.arch }}"