chore: fix release action

This commit is contained in:
Lakhan Samani 2021-09-09 11:48:59 +05:30
parent 579d1512ac
commit 3615f413db

View File

@ -4,16 +4,17 @@ on:
jobs: jobs:
releases-matrix: releases-matrix:
name: Release Go Binary name: Release Authorizer Binary
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
# build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/amd64 # build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/amd64
goos: [linux, windows, darwin] goos: [linux, windows, darwin]
goarch: ['386', amd64] goarch: amd64
exclude: # goarch: ['386', amd64]
- goarch: '386' # exclude:
goos: darwin # - goarch: '386'
# goos: darwin
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.20 - uses: wangyoucao577/go-release-action@v1.20