Release Go binaries as GitHub Release assets.
on:
release:
types: [created]
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Configure Go
uses: actions/setup-go@v2
with:
go-version: 1.14.7
- name: Release mytool
uses: altipla-consulting/go-release.actions@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
source: ./cmd/mytool
name: mytool