Skip to content

Commit 07977a3

Browse files
committed
Maven auth now
1 parent 5996256 commit 07977a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/ci_build/github/azure-pipelines/templates/c-api-linux-cpu.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ jobs:
7575
mkdir -p $HOME/.onnx
7676
docker run -e SYSTEM_COLLECTIONURI --rm --volume /data/onnx:/data/onnx:ro --volume $(Build.SourcesDirectory):/onnxruntime_src --volume $(Build.BinariesDirectory):/build \
7777
-e NPM_CONFIG_USERCONFIG=/tmp/.npmrc --volume $(AGENT_TEMPDIRECTORY)/.npmrc:/tmp/.npmrc:ro \
78+
--volume $HOME/.m2:/home/onnxruntimedev/.m2:ro \
7879
--volume $HOME/.onnx:/home/onnxruntimedev/.onnx -e NIGHTLY_BUILD onnxruntimecpubuildcentos8${{parameters.OnnxruntimeArch}}_packaging /bin/bash -c "python3 \
7980
/onnxruntime_src/tools/ci_build/build.py --enable_lto --build_java --build_nodejs --build_dir /build --config Release \
8081
--skip_submodule_sync --parallel --use_vcpkg --use_vcpkg_ms_internal_asset_cache --use_binskim_compliant_compile_flags --use_vcpkg --use_vcpkg_ms_internal_asset_cache --build_shared_lib ${{ parameters.AdditionalBuildFlags }} && cd /build/Release && make install DESTDIR=/build/installed"

0 commit comments

Comments
 (0)