Skip to content

Commit

Permalink
add downloading into test and build-docker;
Browse files Browse the repository at this point in the history
use -N to avoid overwrite
  • Loading branch information
Patchethium committed Sep 2, 2023
1 parent d034b44 commit 6c4fe0a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ jobs:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

# Download snfa forced aligner model
- name: Download model for guided synthesis
run: curl -N -L https://github.com/Patchethium/snfa/releases/download/v0.0.1/cv_jp.bin -o ./cv_jp.bin

# Download VOICEVOX RESOURCE
- name: Prepare VOICEVOX RESOURCE cache
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ jobs:

# Download snfa forced aligner model
- name: Download model for guided synthesis
run: curl -L https://github.com/Patchethium/snfa/releases/download/v0.0.1/cv_jp.bin -o ./cv_jp.bin
run: curl -N -L https://github.com/Patchethium/snfa/releases/download/v0.0.1/cv_jp.bin -o ./cv_jp.bin

# Download VOICEVOX RESOURCE
- name: Prepare VOICEVOX RESOURCE cache
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
steps:
- uses: actions/checkout@v3

# Download snfa forced aligner model
- name: Download model for guided synthesis
run: curl -N -L https://github.com/Patchethium/snfa/releases/download/v0.0.1/cv_jp.bin -o ./cv_jp.bin

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit 6c4fe0a

Please sign in to comment.