From 6c4fe0a1e00c0e4c984019df117039c8f7d949f2 Mon Sep 17 00:00:00 2001 From: Patchethium Date: Sun, 3 Sep 2023 00:32:06 +0900 Subject: [PATCH] add downloading into test and build-docker; use -N to avoid overwrite --- .github/workflows/build-docker.yml | 4 ++++ .github/workflows/build.yml | 2 +- .github/workflows/test.yml | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 10258664a..c837cfc39 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -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 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index edbbde9f1..0c78f22f0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 60662c451..3b4affc85 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: