Skip to content

v0.0.2

v0.0.2 #7

Workflow file for this run

name: release-binaries
on:
release:
types: [created]
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux]
goarch: [amd64, arm64]
exclude:
- goarch: arm64
goos: windows
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1.48
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: "https://go.dev/dl/go1.21.3.linux-amd64.tar.gz"
project_path: "."
binary_name: "golt"
pre_command: "export CGO_ENABLED=0"
build_flags: "-trimpath"
ldflags: -s -w
md5sum: TRUE
overwrite: TRUE
compress_assets: OFF