diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b16c7ba..467729e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -349,7 +349,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - if: env.TARGET_LIBRARY == 'onnxruntime' + if: steps.cache-build-result.outputs.cache-hit != 'true' && env.TARGET_LIBRARY == 'onnxruntime' with: repository: microsoft/onnxruntime submodules: true