Deploy configuration
This commit is contained in:
parent
b06969d528
commit
2895fcbbd3
|
@ -0,0 +1,28 @@
|
|||
name: goreleaser
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "*"
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
goreleaser:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- run: git fetch --force --tags
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: stable
|
||||
- uses: goreleaser/goreleaser-action@v5
|
||||
with:
|
||||
distribution: goreleaser
|
||||
version: ${{ env.GITHUB_REF_NAME }}
|
||||
args: release --clean
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
|
|
@ -5,3 +5,4 @@ whisper-api-server.exe
|
|||
|
||||
tmp/*
|
||||
!tmp/.gitkeep
|
||||
dist/
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
builds:
|
||||
- binary: whisper-api-server
|
||||
goos:
|
||||
- windows
|
||||
goarch:
|
||||
- amd64
|
||||
env:
|
||||
- CGO_ENABLED=1
|
||||
|
||||
release:
|
||||
prerelease: auto
|
||||
|
||||
checksum:
|
||||
name_template: "checksum.txt"
|
|
@ -33,7 +33,7 @@ Receive a response in JSON format:
|
|||
|
||||
- [x] Implement automatic model downloading from [huggingface](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
|
||||
- [x] Implement automatic `Whisper.dll` downloading from [Guthub releases](https://github.com/Const-me/Whisper/releases)
|
||||
- [ ] Provide prebuilt binaries for Windows
|
||||
- [x] Provide prebuilt binaries for Windows
|
||||
- [ ] Include instructions for running on Linux with Wine (likely possible).
|
||||
|
||||
# Credits
|
||||
|
|
Loading…
Reference in New Issue