Skip to content

update build

update build #6

Workflow file for this run

name: Build
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.22.x'
- name: Dependencies
run: |
go get .
- name: Build
run: |
./build.sh
- name: Copy Binary
run: |
mkdir -p release-bin/
cp -r build/ release-bin
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
LICENSE
release-bin/*