Skip to content

SOTA Open Source TTS

Add windows package ci

Lengyue23e7dd1fcd52
diff --git a/.github/workflows/build-windows-package.yml b/.github/workflows/build-windows-package.yml
new file mode 100644
index 0000000..5d4868c
--- /dev/null
+++ b/.github/workflows/build-windows-package.yml
@@ -0,0 +1,29 @@
+name: build-windows-package
+
+on:
+ push:
+ branches:
+ - main
+
+jobs:
+ deploy:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/setup-python@v4
+ with:
+ python-version: 3.12
+ - uses: actions/checkout@v4
+ with:
+ path: ./fish-speech
+ - run: pip3 install huggingface-hub
+ - env:
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
+ run: |
+ huggingface-cli download fishaudio/fish-speech-1 fish-speech-v1.0.zip \
+ --local-dir ./ --local-dir-use-symlinks False
+ unzip fish-speech-v1.0.zip -d fish-speech-zip
+ mv fish-speech-zip/fish-speech/fishenv fish-speech-zip/fish-speech/ffmpeg.exe ./fish-speech
+ - uses: actions/upload-artifact@v4
+ with:
+ name: fish-speech-main-${{ github.run_id }}
+ path: ./fish-speech