diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/push-test.yml | 4 | ||||
-rw-r--r-- | .github/workflows/release.yml | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/push-test.yml b/.github/workflows/push-test.yml index ec5fde87..25314e58 100644 --- a/.github/workflows/push-test.yml +++ b/.github/workflows/push-test.yml @@ -44,6 +44,10 @@ jobs: jq '.tauri.updater.active = false' src-tauri/tauri.conf.json > src-tauri/tauri.conf.json.new rm src-tauri/tauri.conf.json mv src-tauri/tauri.conf.json.new src-tauri/tauri.conf.json + - uses: Swatinem/rust-cache@v2 # Cache Rust build artifacts + with: + workspaces: | + src-tauri - name: install app dependencies and build it env: TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c9d22155..6279d126 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,6 +39,10 @@ jobs: run: | sudo apt-get update sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf + - uses: Swatinem/rust-cache@v2 # Cache Rust build artifacts + with: + workspaces: | + src-tauri - name: install app dependencies and build it env: TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} |