mirror of
https://github.com/bitvora/wot-relay.git
synced 2025-04-19 18:21:18 +00:00
add CGO_ENABLED to release build
This commit is contained in:
parent
5cc3c33ed5
commit
2e7105fbdd
17
.github/workflows/release.yml
vendored
17
.github/workflows/release.yml
vendored
@ -13,7 +13,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install build-essential and LMDB development files
|
||||
run: sudo apt-get update && sudo apt-get install -y build-essential liblmdb-dev
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y build-essential liblmdb-dev
|
||||
|
||||
- name: Create Release
|
||||
uses: actions/create-release@latest
|
||||
@ -43,7 +45,18 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install build-essential and LMDB development files
|
||||
run: sudo apt-get update && sudo apt-get install -y build-essential liblmdb-dev
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y build-essential liblmdb-dev
|
||||
|
||||
- name: Set CGO_ENABLED=1
|
||||
run: |
|
||||
export CGO_ENABLED=1
|
||||
|
||||
- name: Build application with Go
|
||||
run: |
|
||||
go env # Print Go environment details for debugging
|
||||
go build ./...
|
||||
|
||||
- uses: wangyoucao577/go-release-action@v1.40
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user