mirror of
https://github.com/Baipyrus/ProxySwitcher.git
synced 2024-12-26 12:41:45 +00:00
bugfix: recursively scan directories for releases
This commit is contained in:
parent
0a50fe598c
commit
798e20b2c4
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@ -66,7 +66,7 @@ jobs:
|
||||
- name: Zip artifacts for release
|
||||
run: |
|
||||
cd artifacts/
|
||||
zip ../ProxySwitcher.zip *
|
||||
zip -r ../ProxySwitcher.zip *
|
||||
|
||||
- name: Create release
|
||||
env:
|
||||
|
@ -37,7 +37,7 @@ if ($isRelease)
|
||||
{
|
||||
# Copy release assets to program dir
|
||||
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
|
||||
{
|
||||
# Download release files from github as-is
|
||||
|
Loading…
Reference in New Issue
Block a user