split workflow to build and release

This commit is contained in:
GenZmeY 2020-11-03 15:40:05 +03:00
parent dcf8e5943b
commit fd9b079d70
2 changed files with 24 additions and 1 deletions

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

@ -0,0 +1,23 @@
name: build release
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.13.0'
- name: Build
run: make -j $(nproc) compile

View File

@ -1,4 +1,4 @@
name: build release
name: release
on:
push: