fix: action error

This commit is contained in:
PandaDEV 2024-11-24 16:57:44 +10:00
parent 89b67f24f2
commit 999b9bada2
No known key found for this signature in database
GPG key ID: 13EFF9BAF70EE75C

View file

@ -138,10 +138,10 @@ jobs:
run: | run: |
$bundlePath = "src-tauri/target/release/bundle/msi" $bundlePath = "src-tauri/target/release/bundle/msi"
if (Test-Path $bundlePath) { if (Test-Path $bundlePath) {
Write-Output "Contents of $bundlePath:" Write-Output "Contents of ${bundlePath}:"
Get-ChildItem -Path $bundlePath Get-ChildItem -Path $bundlePath
} else { } else {
Write-Output "Path $bundlePath does not exist." Write-Output "Path ${bundlePath} does not exist."
} }
- name: Rename Windows Artifacts - name: Rename Windows Artifacts
shell: pwsh shell: pwsh
@ -156,7 +156,7 @@ jobs:
Rename-Item -Path $file.FullName -NewName $newName Rename-Item -Path $file.FullName -NewName $newName
} }
} else { } else {
Write-Error "Path $bundlePath does not exist." Write-Error "Path ${bundlePath} does not exist."
exit 1 exit 1
} }
- name: Upload artifacts - name: Upload artifacts