Skip to content

release v0.8.0 with fixes from @1ma #25

release v0.8.0 with fixes from @1ma

release v0.8.0 with fixes from @1ma #25

Workflow file for this run

name: build for all platforms
on:
push:
tags:
- '*'
permissions:
contents: write
jobs:
make-release:
runs-on: ubuntu-latest
steps:
- uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
build-all-for-all:
runs-on: ubuntu-latest
needs:
- make-release
strategy:
matrix:
goos: [linux, freebsd, openbsd]
goarch: [amd64, arm64]
env:
CGO_ENABLED: 0
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: "1.22"
build_flags: -trimpath
ldflags: -s -w
overwrite: true