split workflow to build and release
This commit is contained in:
parent
dcf8e5943b
commit
fd9b079d70
23
.github/workflows/build.yml
vendored
Normal file
23
.github/workflows/build.yml
vendored
Normal 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
|
||||
|
@ -1,4 +1,4 @@
|
||||
name: build release
|
||||
name: release
|
||||
|
||||
on:
|
||||
push:
|
Loading…
x
Reference in New Issue
Block a user