bugfix: recursively scan directories for releases

This commit is contained in:
Baipyrus 2024-09-06 12:15:39 +02:00
parent 0a50fe598c
commit 798e20b2c4
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ jobs:
- name: Zip artifacts for release - name: Zip artifacts for release
run: | run: |
cd artifacts/ cd artifacts/
zip ../ProxySwitcher.zip * zip -r ../ProxySwitcher.zip *
- name: Create release - name: Create release
env: env:

View File

@ -37,7 +37,7 @@ if ($isRelease)
{ {
# Copy release assets to program dir # Copy release assets to program dir
Write-Host "Copying program into local directory..." -ForegroundColor Cyan Write-Host "Copying program into local directory..." -ForegroundColor Cyan
Copy-Item -Path "$releaseDir\*" -Destination $programPath -Force Copy-Item -Path "$releaseDir\*" -Destination $programPath -Recurse -Force
} else } else
{ {
# Download release files from github as-is # Download release files from github as-is