Skip to content

Commit

Permalink
chore(actions): file not found
Browse files Browse the repository at this point in the history
  • Loading branch information
0PandaDEV committed Nov 24, 2024
1 parent c20f01e commit dab8394
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand All @@ -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) {
Expand All @@ -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
Expand Down

0 comments on commit dab8394

Please sign in to comment.