From a7747bb5d78c971bd2f74e2be411d24830288673 Mon Sep 17 00:00:00 2001 From: Shintaro Takemura Date: Mon, 15 Jan 2024 07:47:38 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=93=E3=83=AB=E3=83=89=E6=99=82=E3=81=ABwa?= =?UTF-8?q?rnings=E3=81=8C=E5=87=BA=E3=81=AA=E3=81=84=E3=82=88=E3=81=86?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20(#33)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ビルド時にwarningsが出ないよう修正 * Apply suggestions from code review --------- Co-authored-by: Hiroshiba --- .github/workflows/build.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7223289..afbe6b6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -147,7 +147,7 @@ jobs: fi - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: microsoft/onnxruntime submodules: true @@ -160,10 +160,11 @@ jobs: - name: Cache build result id: cache-build-result - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: build/ - key: ${{ matrix.artifact_name }}-v${{ env.ONNXRUNTIME_VERSION }}-cache-v1-${{ hashFiles('matrix.json') }} + key: ${{ matrix.artifact_name }}-v${{ env.ONNXRUNTIME_VERSION }}-cache-${{ hashFiles('matrix.json') }} + - name: Install tree if: steps.cache-build-result.outputs.cache-hit != 'true' && runner.os == 'Windows' @@ -305,11 +306,10 @@ jobs: mv ${{ matrix.result_dir }}/${{ matrix.artifact_name }} ./artifact/ - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.artifact_name }} path: artifact/* - retention-days: 14 - name: Generate RELEASE_NAME if: env.RELEASE == 'true' @@ -341,17 +341,17 @@ jobs: - uses: actions/checkout@v3 - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: onnxruntime-ios-arm64 path: artifact/onnxruntime-aarch64-apple-ios - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: onnxruntime-ios-sim-arm64 path: artifact/onnxruntime-aarch64-apple-ios-sim - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: onnxruntime-ios-sim-x86_64 path: artifact/onnxruntime-x86_64-apple-ios