Skip to content

Workflow file for this run

name: Build and upload release artifacts
on:
release:
types: [published]
jobs:
upload:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Dependencies
run: |
go mod tidy
- name: Build
run: |
make build
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
tag: ${{ github.ref }}
file: ./build/*
file_glob: true
repo_token: ${{ github.token }}