2020-02-29 20:11:34 +08:00
|
|
|
name: Build Go binaries
|
|
|
|
|
|
|
|
on: push
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@master
|
|
|
|
|
2020-03-01 06:15:28 +08:00
|
|
|
- name: Compile
|
2020-02-29 20:11:34 +08:00
|
|
|
uses: xxxserxxx/actions/golang-build@master
|
2020-03-06 22:30:34 +08:00
|
|
|
env:
|
|
|
|
SRCPATH: ./cmd/gotop
|
2020-02-29 22:51:10 +08:00
|
|
|
with:
|
2020-03-01 09:12:23 +08:00
|
|
|
args: darwin/amd64/1 linux/amd64 linux/386 linux/arm64 linux/arm7 linux/arm6 linux/arm5 windows/amd64 windows/386 freebsd/amd64 freebsd/386
|