From dab8394dd422da9cf367d1275661286adce7f7bc Mon Sep 17 00:00:00 2001 From: PandaDEV <70103896+0PandaDEV@users.noreply.github.com> Date: Sun, 24 Nov 2024 17:14:57 +1000 Subject: [PATCH] chore(actions): file not found --- .github/workflows/release.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae51ae9..ef5b6d9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -102,8 +102,10 @@ jobs: include: - args: "--target x86_64-pc-windows-msvc" arch: "x64" + target: "x86_64-pc-windows-msvc" - args: "--target aarch64-pc-windows-msvc" arch: "arm64" + target: "aarch64-pc-windows-msvc" runs-on: windows-latest env: TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} @@ -136,7 +138,7 @@ jobs: - name: List Bundle Directory shell: pwsh run: | - $bundlePath = "src-tauri/target/release/bundle/msi" + $bundlePath = "src-tauri/target/${{ matrix.target }}/release/bundle/msi" if (Test-Path $bundlePath) { Write-Output "Contents of ${bundlePath}:" Get-ChildItem -Path $bundlePath @@ -146,7 +148,7 @@ jobs: - name: Rename Windows Artifacts shell: pwsh run: | - $bundlePath = "src-tauri/target/release/bundle/msi" + $bundlePath = "src-tauri/target/${{ matrix.target }}/release/bundle/msi" $version = "${{ needs.prepare.outputs.version }}" $arch = "${{ matrix.arch }}" if (Test-Path $bundlePath) { @@ -163,8 +165,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: windows-${{ matrix.arch }}-binaries - path: | - src-tauri/target/release/bundle/msi/*.msi + path: src-tauri/target/${{ matrix.target }}/release/bundle/msi/*.msi build-linux: permissions: write-all