fix being used by

| another process
This commit is contained in:
2026-09-13 16:31:17 +03:00
parent c9f85c49a6
commit 3e7086d11e
+20 -4
View File
@@ -988,6 +988,7 @@ jobs:
shell: pwsh
run: |
$ErrorActionPreference = "Stop"
Set-Location rustdesk
$runnerRes = Get-ChildItem `
@@ -998,7 +999,8 @@ jobs:
Select-Object -First 1
if ($runnerRes) {
Copy-Item $runnerRes.FullName `
Copy-Item `
$runnerRes.FullName `
".\libs\portable\Runner.res" `
-Force
}
@@ -1018,6 +1020,7 @@ jobs:
-Force
Push-Location ".\libs\portable"
try {
python -m pip install `
--disable-pip-version-check `
@@ -1055,15 +1058,28 @@ jobs:
$output = Join-Path ".\dist" $outputName
Copy-Item $packer $output -Force
Copy-Item `
$packer `
$output `
-Force
$hash = Get-FileHash $output -Algorithm SHA256
$hash = Get-FileHash `
$output `
-Algorithm SHA256
(
$hash.Hash.ToLower() +
" " +
$outputName
) | Set-Content "$output.sha256" -Encoding ASCII
) | Set-Content `
"$output.sha256" `
-Encoding ASCII
Write-Host ""
Write-Host "============================================"
Write-Host "Windows portable build completed successfully"
Write-Host "============================================"
Write-Host $output
- name: Upload Windows build
uses: https://github.com/actions/upload-artifact@v7