Update go.yml

This commit is contained in:
Winni Neessen 2021-03-20 19:21:22 +01:00 committed by GitHub
parent c6257b36bb
commit 0f66dccb11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,24 +5,8 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]
release:
types: [ created ]
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, windows, darwin, freebsd, openbsd, netbsd]
goarch: ["386", amd64]
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.15
with:
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
build:
runs-on: ubuntu-latest
steps: