Smaller executables.
This commit is contained in:
parent
99eeeedc65
commit
a23e5f80f0
4
.github/workflows/build_release.yaml
vendored
4
.github/workflows/build_release.yaml
vendored
@ -17,9 +17,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: '>=1.22.1'
|
go-version: '>=1.22.1'
|
||||||
- name: release-build-windows
|
- 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
|
- 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
|
- name: Release
|
||||||
uses: https://gitea.com/actions/release-action@main
|
uses: https://gitea.com/actions/release-action@main
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user