Skip to content

Workflow file for this run

name: Build and Release
on:
release:
types: [created]
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux]
goarch: ["386", amd64, arm64]
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1.50
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
project_path: "./"
binary_name: "rcfix-${{ matrix.goarch }}"
compress_assets: OFF
build_flags: -trimpath
pre_command: export CGO_ENABLED=0
ldflags: -s -w
md5sum: FALSE
sha256sum: TRUE