fix: attempt to build with cgo enabled #28
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
# From: https://goreleaser.com/ci/actions/#usage | |
name: release | |
env: | |
GO111MODULE: on | |
on: | |
push: | |
tags: | |
- '*' | |
permissions: | |
contents: write | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21 | |
- name: Install Dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libsqlite3-dev | |
- name: Install ARM64 cross-compilation tools | |
run: | | |
sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu | |
- name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v5.0.0 | |
with: | |
distribution: goreleaser | |
version: latest | |
args: release --clean --debug | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
#- name: Syndicate to GoDocs | |
# run: make godocs |