chore(actions): file not found

This commit is contained in:
PandaDEV 2024-11-24 17:14:57 +10:00
parent c20f01eb48
commit dab8394dd4
No known key found for this signature in database
GPG key ID: 13EFF9BAF70EE75C

View file

@ -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