Skip to content

chore: Bump go version and deps (#97) #23

chore: Bump go version and deps (#97)

chore: Bump go version and deps (#97) #23

Workflow file for this run

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 }}