[mq] working branch - merge 18187d9436 on top of main at 02ebc32ba5 #248
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
env: | |
GO_VERSION: 1.21 | |
on: | |
push: | |
jobs: | |
build-linux-binary: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: gcc install | |
run: sudo apt-get update; sudo apt install gcc-aarch64-linux-gnu | |
- name: Get tag | |
uses: little-core-labs/[email protected] | |
id: tag | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v3 | |
with: | |
version: latest | |
args: build --skip=validate --config .goreleaser-for-linux.yaml | |
build-darwin-binary: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Get tag | |
uses: little-core-labs/[email protected] | |
id: tag | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Build | |
uses: goreleaser/goreleaser-action@v3 | |
with: | |
args: build --skip=validate --config .goreleaser-for-darwin.yaml | |
build-windows-binary: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Get tag | |
uses: little-core-labs/[email protected] | |
id: tag | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Build | |
uses: goreleaser/goreleaser-action@v3 | |
with: | |
args: build --skip=validate --config .goreleaser-for-windows.yaml |