summaryrefslogtreecommitdiffstats
path: root/.github/workflows/go.yml
blob: 54d72f165c9d47849624cae94ef73e9048b770f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: Build Go binaries

on: push

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@master

      - name: Make binaries
        uses: xxxserxxx/actions/golang-build@master
        with:
          args: darwin/amd64/1 darwin/386/1 linux/amd64 linux/386 linux/arm64 linux/arm7 linux/arm6 linux/arm5 windows/amd64 windows/386 freebsd/amd64 freebsd/386
        env:
          COMPRESS_FILES: true

      - uses: actions/upload-artifact@v1
        with:
          name: Binaries
          path: .release