Skip to content

Build and Release

Build and Release #15

Workflow file for this run

name: Build and Release
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.24'
- name: Build binary
run: |
./scripts/build_for_release.sh
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref_name }}
files: |
bin/linux-amd64
bin/linux-arm64
bin/darwin-amd64
bin/darwin-arm64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}