diff --git a/tools/ci_build/github/azure-pipelines/templates/c-api-linux-cpu.yml b/tools/ci_build/github/azure-pipelines/templates/c-api-linux-cpu.yml index 2da3b8a9bc7b8..39d17e984cbbc 100644 --- a/tools/ci_build/github/azure-pipelines/templates/c-api-linux-cpu.yml +++ b/tools/ci_build/github/azure-pipelines/templates/c-api-linux-cpu.yml @@ -40,7 +40,7 @@ jobs: clean: all variables: - name: skipComponentGovernanceDetection - value: ${{eq('${{parameters.OnnxruntimeNodejsBindingArch}}', 'arm64')}} + value: ${{ in('${{parameters.OnnxruntimeNodejsBindingArch}}', 'arm64', 'aarch64') }} timeoutInMinutes: 210 pool: ${{parameters.PoolName}} steps: diff --git a/tools/ci_build/github/azure-pipelines/templates/component-governance-component-detection-steps.yml b/tools/ci_build/github/azure-pipelines/templates/component-governance-component-detection-steps.yml index 3d128fdb78eee..de67eaeb1772e 100644 --- a/tools/ci_build/github/azure-pipelines/templates/component-governance-component-detection-steps.yml +++ b/tools/ci_build/github/azure-pipelines/templates/component-governance-component-detection-steps.yml @@ -19,4 +19,6 @@ steps: inputs: # ignore dmlc-core tracker for its CI, which is not used in onnxruntime build # ignore unit tests in emscripten. emscripten unit tests are not used in onnxruntime build - ignoreDirectories: '$(Build.SourcesDirectory)/cmake/external/emsdk/upstream/emscripten/tests' + ignoreDirectories: + '$(Build.SourcesDirectory)/cmake/external/emsdk/upstream/emscripten/tests, + $(Build.SourcesDirectory)/cmake/external/onnx/third_party' \ No newline at end of file