diff --git a/.github/workflows/on-push.yml b/.github/workflows/on-push.yml index 8963101..c70faa5 100644 --- a/.github/workflows/on-push.yml +++ b/.github/workflows/on-push.yml @@ -30,7 +30,6 @@ jobs: build_release_windows: env: - PATH: 'C:\go122;%PATH%' GOOS: windows GOARCH: amd64 TARGET: windows-amd64 @@ -45,7 +44,10 @@ jobs: go-version: "1.22" - name: Create artifacts for linux - run: sh ci/script.sh + run: | + go build -ldflags "-w -s -X main.VERSION=$(appveyor_repo_tag_name)" -o bin/ergo.exe + choco install 7zip + 7z a -tzip bin/ergo-$(appveyor_repo_tag_name)-win.zip bin/ergo.exe - name: Upload binaries to release uses: svenstaro/upload-release-action@v2