From 64f3ca280c368bbbb55ea9d1cae06ed6db06ccf1 Mon Sep 17 00:00:00 2001 From: inkfarer Date: Wed, 3 Apr 2024 06:47:21 +0300 Subject: [PATCH 1/2] Fix builds only occurring for x64 macOS --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0c002f..8050323 100755 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,4 +74,4 @@ jobs: releaseName: "NCGMGR v__VERSION__" releaseDraft: true prerelease: false - args: ${{ matrix.settings.platform.build-args }} + args: ${{ matrix.platform.build-args }} From 905896941a48d7e21b94134874a1ed9432d9fea3 Mon Sep 17 00:00:00 2001 From: inkfarer Date: Wed, 3 Apr 2024 06:52:23 +0300 Subject: [PATCH 2/2] Cache cargo dependencies --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8050323..9208d6e 100755 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,6 +63,10 @@ jobs: toolchain: stable targets: ${{ matrix.settings.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} + - uses: Swatinem/rust-cache@v2 + with: + workspaces: './src-tauri -> target' + - name: install frontend dependencies run: yarn install