Skip to content

Commit

Permalink
Fix CI in main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
leng-yue committed May 11, 2024
1 parent 46594de commit 449054e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build-windows-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,16 @@ jobs:
name: fish-speech-main-${{ github.run_id }}
path: ./fish-speech

- name: Check and Compress fish-speech
run: |
if [ ! -f fish-speech-main-${{ github.run_id }}.zip ]; then
zip -qr fish-speech-main-${{ github.run_id }}.zip ./fish-speech
else
echo "Zip file already exists, skipping compression."
fi
# - name: Check and Compress fish-speech
# run: |
# if [ ! -f fish-speech-main-${{ github.run_id }}.zip ]; then
# zip -qr fish-speech-main-${{ github.run_id }}.zip ./fish-speech
# else
# echo "Zip file already exists, skipping compression."
# fi

- name: Upload to Hugging Face
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
huggingface-cli upload SpicyqSama007/fish-speech-packed ./fish-speech-main-${{ github.run_id }}.zip fish-speech-main-${{ github.run_id }}.zip
# - name: Upload to Hugging Face
# env:
# HF_TOKEN: ${{ secrets.HF_TOKEN }}
# run: |
# huggingface-cli upload SpicyqSama007/fish-speech-packed ./fish-speech-main-${{ github.run_id }}.zip fish-speech-main-${{ github.run_id }}.zip

0 comments on commit 449054e

Please sign in to comment.