Skip to content

v3.2.8

v3.2.8 #46

Workflow file for this run

name: Release GO binaries
on:
release:
types: [edited,published]
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
# build and publish in parallel: linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, darwin/amd64, darwin/arm64
goos: [linux, windows]
goarch: ["386", amd64, arm64, arm]
exclude:
- goarch: arm64, arm
goos: windows
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GIT_HUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: "1.23.4"
binary_name: "wrapperr"
ldflags: "-s -w"
extra_files: README.md config web CODE_OF_CONDUCT.md Dockerfile files
retry: 10
overwrite: true
release_name: ${{ github.ref_name }}
pre_command: sed -i 's/{{RELEASE_TAG}}/${{ github.event.release.tag_name }}/g' files/config.go # Replace release variable with the name of this release