From 62d0ed4c124538d8cab22ce9415b6152a9da2e4b Mon Sep 17 00:00:00 2001 From: y-chan Date: Fri, 10 Feb 2023 14:50:00 +0900 Subject: [PATCH] fix actions --- .github/workflows/build_and_deploy.yml | 10 ++++----- .github/workflows/download_test.yml | 28 +++++++++++++------------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index ece17f500..2197a351f 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -226,7 +226,7 @@ jobs: - name: download-osx-aarch64 target: aarch64-apple-darwin os: macos-11 - runs-on: ${{ matrix.os }} + runs-on: ${{ github.event.inputs.code_signing == 'true' && startsWith(matrix.os, 'windows') && 'self-hosted' || matrix.os }} steps: - uses: actions/checkout@v3 - name: Install cross compiler for aarch64-unknown-linux-gnu @@ -253,10 +253,10 @@ jobs: if: startsWith(matrix.os, 'windows') && github.event.inputs.code_signing == 'true' shell: bash run: | - bash build_util/codesign.bash ./${{ matrix.name }} - env: - CERT_BASE64: ${{ secrets.CERT_BASE64 }} - CERT_PASSWORD: ${{ secrets.CERT_PASSWORD }} + bash build_util/codesign_sv.bash ./${{ matrix.name }} + # env: + # CERT_BASE64: ${{ secrets.CERT_BASE64 }} + # CERT_PASSWORD: ${{ secrets.CERT_PASSWORD }} - name: Upload to Release if: env.VERSION != 'DEBUG' && env.SKIP_UPLOADING_RELEASE_ASSET == '0' uses: softprops/action-gh-release@v1 diff --git a/.github/workflows/download_test.yml b/.github/workflows/download_test.yml index 436cb520a..3d992562a 100644 --- a/.github/workflows/download_test.yml +++ b/.github/workflows/download_test.yml @@ -20,7 +20,7 @@ jobs: download_command: cargo run -vv -p download download_dir: sharevox_core check_items: | - voicevox_core.dll + sharevox_core.dll model/metas.json open_jtalk_dic_utf_8-1.11 README.txt @@ -38,7 +38,7 @@ jobs: download_command: cargo run -vv -p download -- --cpu-arch x86 download_dir: sharevox_core check_items: | - voicevox_core.dll + sharevox_core.dll model/metas.json open_jtalk_dic_utf_8-1.11 README.txt @@ -55,7 +55,7 @@ jobs: download_command: cargo run -vv -p download -- -o other_output download_dir: other_output check_items: | - voicevox_core.dll + sharevox_core.dll model/metas.json open_jtalk_dic_utf_8-1.11 README.txt @@ -72,7 +72,7 @@ jobs: download_command: cargo run -vv -p download -- --min download_dir: sharevox_core check_items: | - voicevox_core.dll + sharevox_core.dll model/metas.json README.txt check_not_exists_items: | @@ -89,7 +89,7 @@ jobs: download_command: cargo run -vv -p download -- --device directml download_dir: sharevox_core check_items: | - voicevox_core.dll + sharevox_core.dll model/metas.json open_jtalk_dic_utf_8-1.11 README.txt @@ -108,7 +108,7 @@ jobs: download_command: cargo run -vv -p download -- --device directml --min download_dir: sharevox_core check_items: | - voicevox_core.dll + sharevox_core.dll model/metas.json README.txt check_not_exists_items: | @@ -126,7 +126,7 @@ jobs: download_command: cargo run -vv -p download -- --device cuda download_dir: sharevox_core check_items: | - voicevox_core.dll + sharevox_core.dll model/metas.json open_jtalk_dic_utf_8-1.11 README.txt @@ -148,7 +148,7 @@ jobs: download_command: cargo run -vv -p download -- --device cuda --min download_dir: sharevox_core check_items: | - voicevox_core.dll + sharevox_core.dll model/metas.json README.txt check_not_exists_items: | @@ -170,7 +170,7 @@ jobs: download_command: ./scripts/downloads/download.sh download_dir: sharevox_core check_items: | - libvoicevox_core.so + libsharevox_core.so model/metas.json open_jtalk_dic_utf_8-1.11 README.txt @@ -188,7 +188,7 @@ jobs: download_command: ./scripts/downloads/download.sh --cpu-arch x64 download_dir: sharevox_core check_items: | - libvoicevox_core.so + libsharevox_core.so model/metas.json open_jtalk_dic_utf_8-1.11 README.txt @@ -206,7 +206,7 @@ jobs: download_command: ./scripts/downloads/download.sh --output other_output download_dir: other_output check_items: | - libvoicevox_core.so + libsharevox_core.so model/metas.json open_jtalk_dic_utf_8-1.11 README.txt @@ -224,7 +224,7 @@ jobs: download_command: ./scripts/downloads/download.sh --min download_dir: sharevox_core check_items: | - libvoicevox_core.so + libsharevox_core.so model/metas.json README.txt check_not_exists_items: | @@ -242,7 +242,7 @@ jobs: download_command: ./scripts/downloads/download.sh --device cuda download_dir: sharevox_core check_items: | - libvoicevox_core.so + libsharevox_core.so model/metas.json open_jtalk_dic_utf_8-1.11 README.txt @@ -263,7 +263,7 @@ jobs: download_command: ./scripts/downloads/download.sh --device cuda --min download_dir: sharevox_core check_items: | - libvoicevox_core.so + libsharevox_core.so model/metas.json README.txt check_not_exists_items: |