Skip to content

Commit 8b456eb

Browse files
committed
CGO_ENABLED: 1
1 parent 5eda9ac commit 8b456eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
shell: pwsh
1919
env:
2020
GOARCH: ${{ matrix.goarch }}
21+
CGO_ENABLED: 1
2122
run: |
2223
go build -o queryx.exe cmd/queryx/main.go
2324
tar zcvf queryx_${{ github.ref_name }}_windows_${{ matrix.goarch }}.tar.gz ./*.md LICENSE queryx.exe
@@ -41,6 +42,7 @@ jobs:
4142
- name: Build
4243
env:
4344
GOARCH: ${{ matrix.goarch }}
45+
CGO_ENABLED: 1
4446
run: |
4547
go build -o queryx cmd/queryx/main.go
4648
tar zcvf queryx_${{ github.ref_name }}_linux_${{ matrix.goarch }}.tar.gz ./*.md LICENSE queryx
@@ -64,6 +66,7 @@ jobs:
6466
- name: Build
6567
env:
6668
GOARCH: ${{ matrix.goarch }}
69+
CGO_ENABLED: 1
6770
run: |
6871
go build -o queryx cmd/queryx/main.go
6972
tar zcvf queryx_${{ github.ref_name }}_darwin_${{ matrix.goarch }}.tar.gz ./*.md LICENSE queryx

0 commit comments

Comments
 (0)