-
-
Notifications
You must be signed in to change notification settings - Fork 14
commit 1703b40
abduznik edited this page May 23, 2026
·
1 revision
Commit: 1703b4079927bcb71d2189bf55a9414676012f9f
Author: abduznik
Date: 2026-05-07
Why: Improves or fixes the continuous integration / release pipeline.
.github/workflows/release.yml | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
.github/workflows/release.yml
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 16ad401..9e94a06 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -105,7 +105,14 @@ jobs:
- name: Create Zip (Windows)
shell: pwsh
run: |
- Compress-Archive -Path build\windows\x64\release\runner\* -DestinationPath freegosy-windows-x64.zip
+ $exe = Get-ChildItem -Path build/windows -Filter "freegosy.exe" -Recurse | Where-Object { $_.FullName -like "*release*" } | Select-Object -First 1
+ if (-not $exe) {
+ dir build/windows -Recurse
+ throw "Could not find freegosy.exe in build/windows"
+ }
+ $buildPath = $exe.DirectoryName
+ Write-Host "Zipping from: $buildPath"
+ Compress-Archive -Path "$buildPath/*" -DestinationPath freegosy-windows-x64.zip
- name: Upload Windows Artifact
uses: actions/upload-artifact@v4
with:
@@ -161,7 +168,6 @@ jobs:
release:
name: Create Release
needs: [build_linux, build_windows, build_macos]
- if: always()
runs-on: ubuntu-latest
permissions:
contents: write