Smaller executables.
All checks were successful
Run Tests / test (push) Successful in 12s
release / release (push) Successful in 22s

This commit is contained in:
Lars M. Rogne 2024-04-24 22:24:47 +02:00
parent 99eeeedc65
commit a23e5f80f0
Signed by: Logiar
SSH Key Fingerprint: SHA256:tq77C31em1ZG4oELIHC3k62wq5UzPSXmhqH8g62whIY

View File

@ -17,9 +17,9 @@ jobs:
with:
go-version: '>=1.22.1'
- name: release-build-windows
run: GOOS=windows GOARCH=amd64 go build -o bin/collatz-${{ github.ref_name }}-windows-amd64.exe
run: GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -o bin/collatz-${{ github.ref_name }}-windows-amd64.exe
- name: release-build-linux
run: GOOS=linux GOARCH=amd64 go build -o bin/collatz-${{ github.ref_name }}-linux-amd64
run: GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o bin/collatz-${{ github.ref_name }}-linux-amd64
- name: Release
uses: https://gitea.com/actions/release-action@main
with: