From 1aeb77c200d2a1b2016d3b3bb2d2ec03ac22e523 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Raes?= Date: Fri, 10 Jul 2026 14:48:24 +0200 Subject: [PATCH 01/12] feat: use actions/checkout@v6 --- .github/workflows/push-test.yml | 10 +++++----- .github/workflows/release.yml | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/push-test.yml b/.github/workflows/push-test.yml index 88a83b91a..f5b7d28bd 100644 --- a/.github/workflows/push-test.yml +++ b/.github/workflows/push-test.yml @@ -10,7 +10,7 @@ jobs: ensure-same-version: runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: install dependencies run: | pip install toml @@ -23,7 +23,7 @@ jobs: name: format-check runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: dtolnay/rust-toolchain@stable with: toolchain: stable @@ -40,7 +40,7 @@ jobs: name: clippy-check runs-on: ${{ matrix.platform }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: dtolnay/rust-toolchain@stable with: toolchain: stable @@ -63,7 +63,7 @@ jobs: autogen-ts-bindings-check: runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: dtolnay/rust-toolchain@stable with: toolchain: stable @@ -100,7 +100,7 @@ jobs: runs-on: ${{ matrix.platform }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: setup node uses: actions/setup-node@v4 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a2dbac9d0..2bf7c78f6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: ensure-same-version: runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: install dependencies run: | pip install toml @@ -29,7 +29,7 @@ jobs: runs-on: ${{ matrix.platform }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: setup node uses: actions/setup-node@v4 with: @@ -97,7 +97,7 @@ jobs: needs: build runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: actions/download-artifact@v4 - name: Create release file run: | From 886e614d351d19fe83398d0c3d967fe8969e076a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Raes?= Date: Fri, 10 Jul 2026 14:54:36 +0200 Subject: [PATCH 02/12] feat: use actions/setup-node@v6 with node v24 --- .github/workflows/push-test.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/push-test.yml b/.github/workflows/push-test.yml index f5b7d28bd..472d9ef7b 100644 --- a/.github/workflows/push-test.yml +++ b/.github/workflows/push-test.yml @@ -102,9 +102,9 @@ jobs: steps: - uses: actions/checkout@v6 - name: setup node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: - node-version: 20 + node-version: 24 - uses: dtolnay/rust-toolchain@stable with: toolchain: stable diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2bf7c78f6..cab08d519 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,9 +31,9 @@ jobs: steps: - uses: actions/checkout@v6 - name: setup node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: - node-version: 20 + node-version: 24 - name: install Rust stable uses: dtolnay/rust-toolchain@stable with: From 8696d54ceb35b5fae05b18c5b5f8ac96591d21d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Raes?= Date: Fri, 10 Jul 2026 15:03:15 +0200 Subject: [PATCH 03/12] feat: use actions/upload-artifact@v6 --- .github/workflows/push-test.yml | 8 ++++---- .github/workflows/release.yml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/push-test.yml b/.github/workflows/push-test.yml index 472d9ef7b..640195b2a 100644 --- a/.github/workflows/push-test.yml +++ b/.github/workflows/push-test.yml @@ -136,21 +136,21 @@ jobs: TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} - name: Upload Linux artifact if: matrix.platform == 'ubuntu-24.04' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: linux-artifacts path: | src-tauri/target/release/bundle/appimage/* - name: Upload Linux AppImage if: matrix.platform == 'ubuntu-24.04' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: linux-appimage path: | src-tauri/target/release/bundle/appimage/*.AppImage - name: Upload Windows artifact if: matrix.platform == 'windows-latest' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: windows-artifacts path: | @@ -158,7 +158,7 @@ jobs: src-tauri/target/release/app.pdb - name: Additionally upload Windows installer separately if: matrix.platform == 'windows-latest' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: windows-msi path: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cab08d519..fe25e9e74 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,7 +60,7 @@ jobs: TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} - name: upload build artifact (windows) if: matrix.platform == 'windows-latest' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: windows-artifacts path: | @@ -68,7 +68,7 @@ jobs: src-tauri/target/release/flightcore.pdb - name: upload build artifact (linux) if: matrix.platform == 'ubuntu-24.04' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: linux-artifacts path: | From d2c87c29959f6989cf5781ff4c0efac16b2c766d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Raes?= Date: Fri, 10 Jul 2026 15:10:16 +0200 Subject: [PATCH 04/12] feat: use tauri-apps/tauri-action@v1 --- .github/workflows/push-test.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push-test.yml b/.github/workflows/push-test.yml index 640195b2a..097693d3d 100644 --- a/.github/workflows/push-test.yml +++ b/.github/workflows/push-test.yml @@ -130,7 +130,7 @@ jobs: npm clean-install cd src-vue && npm clean-install && cd .. npm run tauri build - - uses: tauri-apps/tauri-action@v0 + - uses: tauri-apps/tauri-action@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fe25e9e74..16cfd35a3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,7 +54,7 @@ jobs: npm clean-install cd src-vue && npm clean-install && cd .. npm run tauri build - - uses: tauri-apps/tauri-action@v0 + - uses: tauri-apps/tauri-action@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} From 67dce56702767eac9af74af3ce41e238270c80b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Raes?= Date: Fri, 10 Jul 2026 15:41:28 +0200 Subject: [PATCH 05/12] feat: try to deduplicate Linux build workflow --- .github/workflows/push-test.yml | 48 ++++++--------------------------- 1 file changed, 8 insertions(+), 40 deletions(-) diff --git a/.github/workflows/push-test.yml b/.github/workflows/push-test.yml index 097693d3d..cbbc86961 100644 --- a/.github/workflows/push-test.yml +++ b/.github/workflows/push-test.yml @@ -108,58 +108,26 @@ jobs: - uses: dtolnay/rust-toolchain@stable with: toolchain: stable + - name: install dependencies (ubuntu only) if: matrix.platform == 'ubuntu-24.04' run: | sudo apt-get update - sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file libxdo-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev + sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf xdg-utils + - name: Disable self-updater shell: bash run: | less src-tauri/tauri.conf.json | jq '.plugins.updater.active = false' | jq 'del(.bundle.createUpdaterArtifacts)' > 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_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} - run: | - npm clean-install - cd src-vue && npm clean-install && cd .. - npm run tauri build + + - name: Install frontend dependencies + run: npm install && cd src-vue && npm install && cd .. + - uses: tauri-apps/tauri-action@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} - - name: Upload Linux artifact - if: matrix.platform == 'ubuntu-24.04' - uses: actions/upload-artifact@v6 - with: - name: linux-artifacts - path: | - src-tauri/target/release/bundle/appimage/* - - name: Upload Linux AppImage - if: matrix.platform == 'ubuntu-24.04' - uses: actions/upload-artifact@v6 - with: - name: linux-appimage - path: | - src-tauri/target/release/bundle/appimage/*.AppImage - - name: Upload Windows artifact - if: matrix.platform == 'windows-latest' - uses: actions/upload-artifact@v6 - with: - name: windows-artifacts - path: | - src-tauri/target/release/bundle/msi/* - src-tauri/target/release/app.pdb - - name: Additionally upload Windows installer separately - if: matrix.platform == 'windows-latest' - uses: actions/upload-artifact@v6 with: - name: windows-msi - path: | - src-tauri/target/release/bundle/msi/*.msi + uploadWorkflowArtifacts: true \ No newline at end of file From 8cc3f4f78b517c5b81495c4297e255c4e3fee9c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Raes?= Date: Fri, 10 Jul 2026 15:43:40 +0200 Subject: [PATCH 06/12] chore: remove unused npm step --- .github/workflows/push-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push-test.yml b/.github/workflows/push-test.yml index cbbc86961..161e50e7a 100644 --- a/.github/workflows/push-test.yml +++ b/.github/workflows/push-test.yml @@ -123,7 +123,7 @@ jobs: mv src-tauri/tauri.conf.json.new src-tauri/tauri.conf.json - name: Install frontend dependencies - run: npm install && cd src-vue && npm install && cd .. + run: npm install - uses: tauri-apps/tauri-action@v1 env: From 154e345e344ab3251a8c5a61cba6a30df5d5644d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Raes?= Date: Fri, 10 Jul 2026 15:59:17 +0200 Subject: [PATCH 07/12] style: address rustc v1.97.0 changes --- src-tauri/src/mod_management/mod.rs | 2 +- src-tauri/src/northstar/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src-tauri/src/mod_management/mod.rs b/src-tauri/src/mod_management/mod.rs index cff6df58a..1ab49b734 100644 --- a/src-tauri/src/mod_management/mod.rs +++ b/src-tauri/src/mod_management/mod.rs @@ -584,7 +584,7 @@ fn delete_older_versions( // Get folders in packages dir let paths = match std::fs::read_dir(&packages_folder) { Ok(paths) => paths, - Err(_err) => return Err(format!("Failed to read directory {}", &packages_folder)), + Err(_err) => return Err(format!("Failed to read directory {}", packages_folder)), }; let mut directories: Vec = Vec::new(); diff --git a/src-tauri/src/northstar/mod.rs b/src-tauri/src/northstar/mod.rs index 9953d742e..1af9bd464 100644 --- a/src-tauri/src/northstar/mod.rs +++ b/src-tauri/src/northstar/mod.rs @@ -30,7 +30,7 @@ pub async fn get_available_northstar_versions( .unwrap(); let mut releases: Vec = vec![]; - for (_version_string, nsmod_version_obj) in nsmod.versions.iter() { + for nsmod_version_obj in nsmod.versions.values() { let current_elem = NorthstarThunderstoreRelease { package: nsmod_version_obj.name.clone(), version: nsmod_version_obj.version.clone(), From 53df17bd805cd27b9d5c2a5e489eb59e4ebb7265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Raes?= Date: Fri, 10 Jul 2026 16:11:04 +0200 Subject: [PATCH 08/12] feat: use tauri-apps/tauri-action@v1 in release workflow --- .github/workflows/push-test.yml | 3 +- .github/workflows/release.yml | 81 ++++++--------------------------- 2 files changed, 15 insertions(+), 69 deletions(-) diff --git a/.github/workflows/push-test.yml b/.github/workflows/push-test.yml index 161e50e7a..922d08b70 100644 --- a/.github/workflows/push-test.yml +++ b/.github/workflows/push-test.yml @@ -125,9 +125,10 @@ jobs: - name: Install frontend dependencies run: npm install + - name: Compile and upload app - uses: tauri-apps/tauri-action@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} with: - uploadWorkflowArtifacts: true \ No newline at end of file + uploadWorkflowArtifacts: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 16cfd35a3..69fc04f63 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,79 +38,24 @@ jobs: uses: dtolnay/rust-toolchain@stable with: toolchain: stable - - name: install dependencies (ubuntu only) + + - name: Install dependencies (ubuntu only) if: matrix.platform == 'ubuntu-24.04' run: | sudo apt-get update - sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file libxdo-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev - - uses: Swatinem/rust-cache@v2 # Cache Rust build artifacts - with: - workspaces: | - src-tauri - - name: install app dependencies and build it - env: - TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} - run: | - npm clean-install - cd src-vue && npm clean-install && cd .. - npm run tauri build + sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf xdg-utils + + - name: Install frontend dependencies + run: npm install + + - name: Compile and upload app - uses: tauri-apps/tauri-action@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} - - name: upload build artifact (windows) - if: matrix.platform == 'windows-latest' - uses: actions/upload-artifact@v6 - with: - name: windows-artifacts - path: | - src-tauri/target/release/bundle/msi/*msi* - src-tauri/target/release/flightcore.pdb - - name: upload build artifact (linux) - if: matrix.platform == 'ubuntu-24.04' - uses: actions/upload-artifact@v6 - with: - name: linux-artifacts - path: | - src-tauri/target/release/bundle/appimage/*AppImage* - - name: Install sentry-cli (Windows only) - if: matrix.platform == 'windows-latest' - run: | - curl --location --output sentry-cli.exe "https://release-registry.services.sentry.io/apps/sentry-cli/latest?response=download&arch=x86_64&platform=Windows&package=sentry-cli" - - name: Run sentry-cli to upload pdb (Windows only) - if: matrix.platform == 'windows-latest' - env: - SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} - SENTRY_ORG: northstar-kv - SENTRY_PROJECT: flightcore - run: | - ./sentry-cli.exe upload-dif --wait src-tauri/target/release/flightcore.pdb - - name: Release - uses: softprops/action-gh-release@v1 - with: - draft: true - files: | - src-tauri/target/release/bundle/appimage/*AppImage* - src-tauri/target/release/bundle/msi/*msi* - - create-release-file: - needs: build - runs-on: ubuntu-24.04 - steps: - - uses: actions/checkout@v6 - - uses: actions/download-artifact@v4 - - name: Create release file - run: | - ls -al - ls -al linux-artifacts/ - ls -al windows-artifacts/ - ls -al windows-artifacts/bundle/ - ls -al windows-artifacts/bundle/msi/ - python3 scripts/create-release-file.py --version ${{github.ref_name}} - - - name: upload release file - uses: softprops/action-gh-release@v1 with: - draft: true - files: | - latest-release.json + tagName: v__VERSION__ + releaseName: 'v__VERSION__' + releaseDraft: true + prerelease: true + uploadUpdaterJson: true From 4f8414d0fb42b44a1ca8cd16958d204ec4783939 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Raes?= Date: Fri, 10 Jul 2026 16:12:11 +0200 Subject: [PATCH 09/12] fix: install same APT dependencies for all job steps --- .github/workflows/push-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push-test.yml b/.github/workflows/push-test.yml index 922d08b70..fe7ee9328 100644 --- a/.github/workflows/push-test.yml +++ b/.github/workflows/push-test.yml @@ -49,7 +49,7 @@ jobs: if: matrix.platform == 'ubuntu-24.04' run: | sudo apt-get update - sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file libxdo-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev + sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf xdg-utils - name: Create dist folder (Ubuntu only) if: matrix.platform == 'ubuntu-24.04' run: mkdir --parent src-vue/dist @@ -70,7 +70,7 @@ jobs: - name: install dependencies (ubuntu only) run: | sudo apt-get update - sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file libxdo-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev + sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf xdg-utils - name: Move original TypeScript bindings run: | From c0d0e913fa0c66d1934b888f25b850a56f66fb80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Raes?= Date: Fri, 10 Jul 2026 16:13:46 +0200 Subject: [PATCH 10/12] fix: typos --- .github/workflows/push-test.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push-test.yml b/.github/workflows/push-test.yml index fe7ee9328..ede658905 100644 --- a/.github/workflows/push-test.yml +++ b/.github/workflows/push-test.yml @@ -126,7 +126,7 @@ jobs: run: npm install - name: Compile and upload app - - uses: tauri-apps/tauri-action@v1 + uses: tauri-apps/tauri-action@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 69fc04f63..b07202ae1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,7 +49,7 @@ jobs: run: npm install - name: Compile and upload app - - uses: tauri-apps/tauri-action@v1 + uses: tauri-apps/tauri-action@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} From b71dc00d8b747c7b375e2e69b39c6a5884f6649a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Raes?= Date: Fri, 10 Jul 2026 16:24:55 +0200 Subject: [PATCH 11/12] fix: add back not so unused npm step --- .github/workflows/push-test.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push-test.yml b/.github/workflows/push-test.yml index ede658905..6e71dedb1 100644 --- a/.github/workflows/push-test.yml +++ b/.github/workflows/push-test.yml @@ -123,7 +123,7 @@ jobs: mv src-tauri/tauri.conf.json.new src-tauri/tauri.conf.json - name: Install frontend dependencies - run: npm install + run: npm install && cd src-vue && npm install && cd .. - name: Compile and upload app uses: tauri-apps/tauri-action@v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b07202ae1..64f187d93 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,7 +46,7 @@ jobs: sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf xdg-utils - name: Install frontend dependencies - run: npm install + run: npm install && cd src-vue && npm install && cd .. - name: Compile and upload app uses: tauri-apps/tauri-action@v1 From 601c6efbdc67cacf63916b564f18977a6699df20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Raes?= Date: Fri, 10 Jul 2026 16:45:08 +0200 Subject: [PATCH 12/12] feat: add back rust cache action --- .github/workflows/push-test.yml | 7 ++++++- .github/workflows/release.yml | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push-test.yml b/.github/workflows/push-test.yml index 6e71dedb1..e1c91647b 100644 --- a/.github/workflows/push-test.yml +++ b/.github/workflows/push-test.yml @@ -121,7 +121,12 @@ jobs: less src-tauri/tauri.conf.json | jq '.plugins.updater.active = false' | jq 'del(.bundle.createUpdaterArtifacts)' > 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 frontend dependencies run: npm install && cd src-vue && npm install && cd .. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 64f187d93..b24ce0ddc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,6 +39,11 @@ jobs: with: toolchain: stable + - uses: Swatinem/rust-cache@v2 # Cache Rust build artifacts + with: + workspaces: | + src-tauri + - name: Install dependencies (ubuntu only) if: matrix.platform == 'ubuntu-24.04' run: |