Skip to content

feat: go binary release #4

feat: go binary release

feat: go binary release #4

Workflow file for this run

name: "go: build binaries"
on:
push:
tags:
- 'v*'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
strategy:
matrix:
goos: [linux]
goarch: [amd64]
steps:
- name: Check out
uses: actions/checkout@v4
- name: Go Release Binaries
uses: wangyoucao577/go-release-action@v1.48
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
pre_command: export CGO_ENABLED=0
project_path: src/cmd