From 9f159557df2fcf329bb7050662d1977890da909e Mon Sep 17 00:00:00 2001 From: Hiroshiba Date: Wed, 28 Dec 2022 09:18:20 +0900 Subject: [PATCH] =?UTF-8?q?[release-0.13]=20public=E3=83=87=E3=82=A3?= =?UTF-8?q?=E3=83=AC=E3=82=AF=E3=83=88=E3=83=AA=E3=81=AB=E3=82=AD=E3=83=A3?= =?UTF-8?q?=E3=83=A9=E3=83=87=E3=83=BC=E3=82=BF=E3=82=B3=E3=83=94=E3=83=BC?= =?UTF-8?q?=E3=81=AF=E4=B8=8D=E8=A6=81=E3=81=AA=E3=81=AE=E3=81=A7=E7=9C=81?= =?UTF-8?q?=E3=81=8F=20(#1072)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5b4b8efb94..2cf5288ffd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -181,42 +181,6 @@ jobs: ref: ${{ env.VOICEVOX_RESOURCE_VERSION }} path: resource - - name: Replace Character Info - shell: bash - run: | - cp -r resource/character_info public/characters - cd public/characters - # Explore characters directory. - # Character directory name is uuid, but this script can automatically detect character directory name. - # We don't need to change this code when add more characters. - # FILEPATH example: "./35b2c544-660e-401e-b503-0e14c635303a" - for FILEPATH in ./* - do - # Extract speaker name from metas.json by jq command - SPEAKER_NAME="$(jq -r '.speakerName' "$FILEPATH/metas.json")" - pushd "$FILEPATH/icons" - # Explore character icons directory. - # ICONPATH example: "./0.png" - for ICONPATH in ./*.png - do - # ":2" part is python slice like, can remove "./" part from ICONPATH - # For example, SPEAKER_NAME is "AAA", ICONPATH is "./0.png" - # If don't use ":2": "${SPEAKER_NAME}_${ICONPATH}" is "AAA_./0.png" - # If use ":2": "${SPEAKER_NAME}_${ICONPATH:2}" is "AAA_0.png" - mv $ICONPATH "${SPEAKER_NAME}_${ICONPATH:2}" - done - popd - pushd "$FILEPATH/voice_samples" - # Explore character voice_samples directory. - # VOICEPATH example: "./0_000.wav" - for VOICEPATH in ./*.wav - do - # Same as for ICONPATH - mv $VOICEPATH "${SPEAKER_NAME}_${VOICEPATH:2}" - done - popd - done - - name: Create and replace software resources shell: bash run: |