Optimize CI workflow

This commit is contained in:
wweir
2020-03-21 11:51:12 +08:00
parent 07c51d42ff
commit 291ae3f85a
2 changed files with 17 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
name: Go
on:
push:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2-beta
- uses: actions/checkout@v2
- name: test and build
run: |
make
@@ -1,4 +1,4 @@
name: Go
name: Release
on:
push:
tags: