From b1a7fd778d844a8f823073d2aadd8290fa4fb25b Mon Sep 17 00:00:00 2001 From: simon-wh Date: Mon, 21 Oct 2024 17:19:20 +0200 Subject: [PATCH] Disable cargo make and rust cache on custom runner --- .github/workflows/deploy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ecd3d8a..18f6c96 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -40,7 +40,11 @@ jobs: default: true target: ${{ matrix.target }} - uses: davidB/rust-cargo-make@v1 + # This doesn't work on custom win runner, so we just skip it as it's installed already anyway + if: ${{ ! startsWith(matrix.os, 'win-sign') }} - uses: Swatinem/rust-cache@v1 + # Caching not needed on custom runner + if: ${{ ! startsWith(matrix.os, 'win-sign') }} with: sharedKey: ${{ matrix.target }} - name: Run deploy script