Skip to content

Dependency bump

Dependency bump #10

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
build:
name: Build and Release
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.22
- name: Determine Version
id: determine_version
run: echo ::set-output name=VERSION::$(echo "${{ github.ref }}" | sed 's,.*/\(.*\),\1,')
- name: Build
run: |
cd src
make all VERSION=${{ steps.determine_version.outputs.VERSION }}
- name: Create Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
with:
files: |
src/bin/*
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}