Skip to content

[main] add github release workflow #1

[main] add github release workflow

[main] add github release workflow #1

Workflow file for this run

name: Release
on:
push:
tags:
- "v*.*.*"
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '1.21.x'
- name: Install dependencies
run: go get .
- name: Build
run: ./scripts/build.sh
- name: Release
uses: softprops/action-gh-release@v1
with:
files: build/*