Skip to content

v1.3.12

v1.3.12 #13

Workflow file for this run

name: Release
on:
release:
types:
- created
jobs:
release:
strategy:
fail-fast: false
matrix:
goos: [linux, windows, darwin]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set GO_LDFLAGS
run: |
echo "GO_LDFLAGS=$(make goldflags)" >> $GITHUB_ENV
- name: Release binaries
uses: mcuadros/go-release-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: amd64
ldflags: ${{ env.GO_LDFLAGS }}