chore: Bump go version and deps (#97) #23
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: | |
- "*.*.*" | |
jobs: | |
create_release: | |
name: Create release | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
- id: get_version | |
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) | |
- name: Install dependencies | |
run: | | |
go install github.com/mitchellh/gox@latest | |
go install github.com/tcnksm/ghr@latest | |
- name: Add GOPATH to search path | |
run: echo `go env GOPATH`/bin >> $GITHUB_PATH | |
- name: Build | |
run: make all | |
env: | |
VERSION: ${{ steps.get_version.outputs.VERSION }} | |
- name: Create release | |
run: ./new_release.sh | |
env: | |
VERSION: ${{ steps.get_version.outputs.VERSION }} |