Skip to content

Commit

Permalink
test: build windows
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianoliveira committed Mar 31, 2024
1 parent 0b116c5 commit 0ec6f1f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,30 @@ jobs:

- name: Run linter
run: make lint

build_release_windows:
env:
GOOS: linux
GOARCH: amd64
TARGET: linux-amd64
RELEASE_TAG: v0.3.2

runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "1.22"

- name: Create artifacts for linux
run: sh ci/script.sh

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ergo-${{ env.RELEASE_TAG }}-${{ env.TARGET }}.tar.gz
asset_name: ergo-${{ env.RELEASE_TAG }}-${{ env.TARGET }}.tar.gz
tag: ${{ github.ref }}
overwrite: true

0 comments on commit 0ec6f1f

Please sign in to comment.