From 97083db78d7202d6293f2c8a825797a3dba00c5b Mon Sep 17 00:00:00 2001 From: DecDuck Date: Sun, 3 Aug 2025 15:59:35 +1000 Subject: [PATCH] fix: allow overwriting and add caching --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1915abd..c642872 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,6 +40,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: lts/* + cache: 'yarn' - name: install Rust nightly uses: dtolnay/rust-toolchain@nightly @@ -85,6 +86,11 @@ jobs: echo "CERT_ID=$CERT_ID" >> $GITHUB_ENV echo "Certificate imported. Using identity: $CERT_ID" + - name: Rust cache + uses: swatinem/rust-cache@v2 + with: + workspaces: './src-tauri -> target' + - name: install frontend dependencies run: yarn install # change this to npm, pnpm or bun depending on which one you use. @@ -116,3 +122,4 @@ jobs: file: build/appimage/*.AppImage file_glob: true release_id: ${{ steps.build.outputs.releaseId }} + overwrite: true