mirror of
https://github.com/xzeldon/whisper-api-server.git
synced 2024-12-25 07:05:48 +00:00
add mingw to workflow
This commit is contained in:
parent
57c71f33cb
commit
e681f2a693
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -19,6 +19,10 @@ jobs:
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: stable
|
||||
- name: Set up MinGW
|
||||
uses: egor-tensin/setup-mingw@v2
|
||||
with:
|
||||
platform: x64
|
||||
- uses: goreleaser/goreleaser-action@v5
|
||||
with:
|
||||
distribution: goreleaser
|
||||
|
@ -7,6 +7,7 @@ builds:
|
||||
env:
|
||||
- CGO_ENABLED=1
|
||||
- CC=x86_64-w64-mingw32-gcc
|
||||
- CXX=x86_64-w64-mingw32-g++
|
||||
release:
|
||||
prerelease: auto
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user