Merge pull request #304 from inada-s/dependabot/go_modules/infra/uplo… #118
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
jobs: | |
build: | |
name: Make | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Setup golang | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.20 | |
id: go | |
- name: Setup env | |
run: | | |
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV | |
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Install Tools | |
run: make install-tools | |
- name: Build | |
run: make release | |
- name: Release | |
uses: meeDamian/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
files: bin/ | |
allow_override: true |