Skip to content

Commit

Permalink
Merge pull request #171 from coveooss/feature/arm
Browse files Browse the repository at this point in the history
Build macOS ARM binaries + update goreleaser
  • Loading branch information
dblanchette authored Nov 29, 2021
2 parents 04bdc37 + e3f8175 commit 0d2ec8d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,12 @@ jobs:
with:
emptyCommits: false

- name: Build Tag
- name: Run GoReleaser
if: github.ref != 'refs/heads/master'
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
curl -sL https://git.io/goreleaser | bash;
5 changes: 5 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ builds:
- linux
goarch:
- amd64
- arm64

# Build one binary for Mac OS (arm64 and amd64)
universal_binaries:
- replace: true

# Archive customization
archives:
Expand Down

0 comments on commit 0d2ec8d

Please sign in to comment.