Skip to content

Commit

Permalink
release: Also build binaries for freebsd/amd64 and darwin/amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
Jille committed Jan 25, 2023
1 parent 444aee2 commit 9e23a87
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,20 @@ jobs:
CGO_ENABLED: 0
GOARCH: arm64

- name: Build for freebsd/amd64
run: go build -v -ldflags "-X main.version=${{github.ref_name}}" -o _publish/pgperms-freebsd-amd64 ./cmd/pgperms/
env:
CGO_ENABLED: 0
GOOS: freebsd
GOARCH: amd64

- name: Build for darwin/amd64
run: go build -v -ldflags "-X main.version=${{github.ref_name}}" -o _publish/pgperms-darwin-amd64 ./cmd/pgperms/
env:
CGO_ENABLED: 0
GOOS: darwin
GOARCH: amd64

- name: Release
uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit 9e23a87

Please sign in to comment.