Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions actions/run-build-script-in-docker/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ inputs:
description: 'Value for NIGHTLY_BUILD env var'
required: false
default: '1'
use_vcpkg:
description: 'Use vcpkg tool'
required: false
default: 'true'

runs:
using: 'node24'
Expand Down
4 changes: 2 additions & 2 deletions src/run-build-script-in-docker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ async function run() {
const pythonPathPrefix = core.getInput('python_path_prefix'); // Get prefix input
const allowOpset = core.getInput('allow_released_opset_only');
const nightlyBuild = core.getInput('nightly_build');
const useVcpkg = core.getBooleanInput('use_vcpkg');

// --- Validate Mode ---
let buildPyArg;
Expand Down Expand Up @@ -156,8 +157,7 @@ async function run() {
'--skip_submodule_sync',
'--build_shared_lib',
'--parallel',
'--use_vcpkg',
'--use_vcpkg_ms_internal_asset_cache',
...(useVcpkg ? ['--use_vcpkg', '--use_vcpkg_ms_internal_asset_cache'] : []),
Comment thread
AlekseiNikiforovIBM marked this conversation as resolved.
...(enableOnnxTestsFlag ? ['--enable_onnx_tests'] : []),
...epFlags,
extraBuildFlags,
Expand Down