Skip to content

v1.0.1

v1.0.1 #2

Workflow file for this run

name: release
on:
release:
types: [created]
jobs:
release-linux-amd64:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, darwin]
goarch: [amd64, arm64]
steps:
# https://github.com/marketplace/actions/checkout
- uses: actions/checkout@v3
# https://github.com/marketplace/actions/go-release-binaries
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
project_path: .
pre_command: go mod vendor
build_command: go build