Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneharter authored Oct 5, 2021
1 parent 5ef45ca commit c93561a
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,14 @@ jobs:
draft: false
prerelease: false

build-release-binaries:
name: Create build assets
build-static-binaries:
name: Create statically-linked build assets
runs-on: ubuntu-latest
strategy:
max-parallel: 6
matrix:
goos: [linux, windows, freebsd]
goarch: [amd64, arm64]
exclude:
- goarch: arm64
goos: windows
goos: [linux]
goarch: [386, amd64, arm64]

steps:
- uses: actions/checkout@v2
- name: Go Release Binaries Normal Volume Size
Expand All @@ -57,13 +54,13 @@ jobs:
pre_command: 'export CGO_ENABLED=1'
ldflags: '-linkmode external -w -extldflags "-static"'

build-darwin-binaries:
name: Create build assets for Darwin
build-binaries:
name: Create build assets
runs-on: ubuntu-latest
strategy:
max-parallel: 6
max-parallel: 4
matrix:
goos: [darwin]
goos: [darwin, windows, freebsd]
goarch: [amd64, arm64]

steps:
Expand Down

0 comments on commit c93561a

Please sign in to comment.