Skip to content

Commit

Permalink
custom script
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianoliveira committed Mar 31, 2024
1 parent d81b35c commit 983261a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:

build_release_windows:
env:
PATH: 'C:\go122;%PATH%'
GOOS: windows
GOARCH: amd64
TARGET: windows-amd64
Expand All @@ -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
Expand Down

0 comments on commit 983261a

Please sign in to comment.