From 2389b0fd52d21e1c389183f075a141584fdd741a Mon Sep 17 00:00:00 2001 From: FTCHD <144691102+FTCHD@users.noreply.github.com> Date: Sun, 21 Sep 2025 16:33:36 +0100 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 11cd93f..e91d08c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,6 +45,10 @@ jobs: node-version: lts/* cache: 'npm' + - name: Purge cargo + run: | + rm -rf ~/.cargo/registry ~/.cargo/git ./target || true + - name: install Rust stable (linux only) uses: dtolnay/rust-toolchain@stable if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'ubuntu-22.04-arm' @@ -65,6 +69,7 @@ jobs: uses: swatinem/rust-cache@v2 with: workspaces: './src-tauri -> target' + key: ${{ runner.os }}-${{ runner.arch }} - name: install dependencies (linux only) if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'ubuntu-22.04-arm' # This must match the platform value defined above. @@ -75,7 +80,7 @@ jobs: - name: install dependencies (linux arm only) if: matrix.platform == 'ubuntu-22.04-arm' # This must match the platform value defined above. run: | - sudo apt-get install -y xdg-utils curl dev build-essential libssl-dev libgtk-3-dev libayatana-appindicator3-dev libfuse2 file + sudo apt-get install -y xdg-utils curl build-essential libssl-dev libgtk-3-dev libayatana-appindicator3-dev libfuse2 file - name: install dependencies (windows only) if: matrix.platform == 'windows-11-arm'