mirror of
https://github.com/axllent/goptimize.git
synced 2026-06-23 08:09:54 -04:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
36 lines
924 B
YAML
36 lines
924 B
YAML
name: Release Go Binaries
|
|
|
|
on:
|
|
release:
|
|
types: [created]
|
|
|
|
jobs:
|
|
releases-matrix:
|
|
name: Release Go Binary
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
goos: [linux, darwin]
|
|
goarch: ["386", amd64, arm, arm64]
|
|
exclude:
|
|
- goarch: "386"
|
|
goos: darwin
|
|
- goarch: arm
|
|
goos: darwin
|
|
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
|
|
- uses: wangyoucao577/go-release-action@v1
|
|
with:
|
|
binary_name: "goptimize"
|
|
asset_name: "goptimize-${{ matrix.goos }}-${{ matrix.goarch }}"
|
|
extra_files: LICENSE README.md
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
md5sum: false
|
|
overwrite: true
|
|
goos: ${{ matrix.goos }}
|
|
goarch: ${{ matrix.goarch }}
|
|
pre_command: export GO386=softfloat CGO_ENABLED=0
|
|
ldflags: -s -w -X "main.version=${{ github.ref_name }}"
|