github action add build

(cherry picked from commit bdec838673767977c14191861ac1b9a8291e2ffc)
This commit is contained in:
Skyxim
2022-01-25 20:30:25 +08:00
parent a5ce62db33
commit 11052d8f77
3 changed files with 25 additions and 77 deletions

20
.github/workflows/build.yaml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Build All
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.17
- name: Check out code
uses: actions/checkout@v1
- name: Build
run: make
- name: Release
uses: softprops/action-gh-release@v1
with:
files: bin/*
draft: true