mirror of
https://github.com/Baipyrus/ProxySwitcher.git
synced 2024-12-27 05:01: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
|
- 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:
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user