This commit is contained in:
cupcakearmy 2021-04-15 23:35:00 +02:00
parent 8e13e7bc40
commit a658b6bb21
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9

25
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Main
on:
push:
tags:
- 'v*.*.*'
branches:
- rewrite
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '^1.16.3'
- name: Build
run: go run build/build.go
- name: Release
uses: softprops/action-gh-release@v1
with:
files: dist/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}