2020-02-29 20:11:34 +08:00
|
|
|
name: Build Go binaries
|
|
|
|
|
2020-05-14 01:29:09 +08:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths-ignore:
|
|
|
|
- 'docs/release.svg'
|
|
|
|
- 'README.md'
|
|
|
|
- 'CHANGELOG.md'
|
2020-02-29 20:11:34 +08:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@master
|
|
|
|
|
2020-03-01 06:15:28 +08:00
|
|
|
- name: Compile
|
2022-07-16 00:14:49 +08:00
|
|
|
uses: xxxserxxx/actions/golang-build@v2.2.3
|
2020-03-06 22:30:34 +08:00
|
|
|
env:
|
|
|
|
SRCPATH: ./cmd/gotop
|
2020-02-29 22:51:10 +08:00
|
|
|
with:
|
2022-02-09 01:32:34 +08:00
|
|
|
args: darwin/amd64/1 darwin/arm64/1 linux/amd64 linux/386 linux/arm64 linux/arm7 linux/arm6 linux/arm5 windows/amd64/1 windows/386/1 freebsd/amd64/1
|