From d82a75d084b20db441f98e49f3a69f2f1abfce85 Mon Sep 17 00:00:00 2001 From: Hiroshiba Date: Thu, 15 Aug 2024 01:00:34 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20--retry-all-errors=E3=81=AE=E6=9C=AA?= =?UTF-8?q?=E5=AF=BE=E5=BF=9C=E3=82=92=E3=81=AA=E3=81=8F=E3=81=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-engine-package.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-engine-package.yml b/.github/workflows/build-engine-package.yml index b84cc35c1..8538541ec 100644 --- a/.github/workflows/build-engine-package.yml +++ b/.github/workflows/build-engine-package.yml @@ -215,7 +215,7 @@ jobs: # 一度代入して actionlint のエラー回避 (詳細: NOTE 1) OS=${{ matrix.os }} if [[ $OS == windows-* ]]; then - curl -L --retry 3 --retry-delay 5 --retry-all-errors "${{ matrix.cudnn_url }}" > download/cudnn.zip + curl -L --retry 3 --retry-delay 5 "${{ matrix.cudnn_url }}" > download/cudnn.zip unzip download/cudnn.zip cudnn-*/bin/*.dll -d download/cudnn_tmp @@ -225,7 +225,7 @@ jobs: rm download/cudnn.zip else - curl -L --retry 3 --retry-delay 5 --retry-all-errors "${{ matrix.cudnn_url }}" > download/cudnn.tar.xz + curl -L --retry 3 --retry-delay 5 "${{ matrix.cudnn_url }}" > download/cudnn.tar.xz tar -Jxf download/cudnn.tar.xz -C download/ @@ -263,7 +263,7 @@ jobs: - name: Download zlib dynamic Library if: steps.zlib-cache-restore.outputs.cache-hit != 'true' && matrix.zlib_url != '' run: | - curl -L --retry 3 --retry-delay 5 --retry-all-errors "${{ matrix.zlib_url }}" -o download/zlib.zip + curl -L --retry 3 --retry-delay 5 "${{ matrix.zlib_url }}" -o download/zlib.zip mkdir -p download/zlib # extract only dlls @@ -329,7 +329,7 @@ jobs: - name: Set up DirectML dynamic Library if: steps.directml-cache-restore.outputs.cache-hit != 'true' && endswith(matrix.target, '-directml') run: | - curl -L --retry 3 --retry-delay 5 --retry-all-errors "${{ matrix.directml_url }}" -o download/directml.zip + curl -L --retry 3 --retry-delay 5 "${{ matrix.directml_url }}" -o download/directml.zip mkdir -p download/directml # extract only dlls @@ -359,7 +359,7 @@ jobs: - name: Download ONNX Runtime (Windows) if: steps.onnxruntime-cache-restore.outputs.cache-hit != 'true' && startsWith(matrix.os, 'windows-') run: | - curl -L --retry 3 --retry-delay 5 --retry-all-errors "${{ matrix.onnxruntime_url }}" > download/onnxruntime.zip + curl -L --retry 3 --retry-delay 5 "${{ matrix.onnxruntime_url }}" > download/onnxruntime.zip # extract only dlls # 一度代入して actionlint のエラー回避 (詳細: NOTE 1) @@ -379,7 +379,7 @@ jobs: - name: Download ONNX Runtime (Mac/Linux) if: steps.onnxruntime-cache-restore.outputs.cache-hit != 'true' && startsWith(matrix.os, 'windows-') != true run: | - curl -L --retry 3 --retry-delay 5 --retry-all-errors "${{ matrix.onnxruntime_url }}" > download/onnxruntime.tgz + curl -L --retry 3 --retry-delay 5 "${{ matrix.onnxruntime_url }}" > download/onnxruntime.tgz mkdir -p download/onnxruntime tar xf "download/onnxruntime.tgz" -C "download/onnxruntime" --strip-components 1 rm download/onnxruntime.tgz @@ -424,7 +424,7 @@ jobs: env: VOICEVOX_CORE_ASSET_NAME: ${{ matrix.voicevox_core_asset_prefix }}-${{ env.VOICEVOX_CORE_VERSION }} run: | - curl -L --retry 3 --retry-delay 5 --retry-all-errors \ + curl -L --retry 3 --retry-delay 5 \ "https://github.com/VOICEVOX/voicevox_core/releases/download/${{ env.VOICEVOX_CORE_VERSION }}/${{ env.VOICEVOX_CORE_ASSET_NAME }}.zip" > download/${{ env.VOICEVOX_CORE_ASSET_NAME }}.zip # 一度代入して actionlint のエラー回避 (詳細: NOTE 1) OS=${{ matrix.os }} From addc20520a385ce09255858c68d1cacf38f52ad6 Mon Sep 17 00:00:00 2001 From: Hiroshiba Date: Thu, 15 Aug 2024 01:00:37 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20--retry-all-errors=E3=81=AE=E6=9C=AA?= =?UTF-8?q?=E5=AF=BE=E5=BF=9C=E3=82=92=E3=81=AA=E3=81=8F=E3=81=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test-engine-package.yml | 4 ++-- tools/codesign.bash | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-engine-package.yml b/.github/workflows/test-engine-package.yml index 5cca9c8af..0fe54a597 100644 --- a/.github/workflows/test-engine-package.yml +++ b/.github/workflows/test-engine-package.yml @@ -72,8 +72,8 @@ jobs: - name: Download ENGINE package run: | mkdir -p download - curl -L --retry 3 --retry-delay 5 --retry-all-errors -o "download/list.txt" "${{ steps.vars.outputs.release_url }}/${{ steps.vars.outputs.package_name }}.7z.txt" -