mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
sertvar
This commit is contained in:
parent
0396adc8e4
commit
a16f6b46b3
1 changed files with 2 additions and 9 deletions
|
|
@ -61,15 +61,8 @@ stages:
|
|||
|
||||
# Do not output ##vso[] commands with `set -x` or they may be parsed again and include a trailing quote.
|
||||
set +x
|
||||
|
||||
set_var() {
|
||||
local VAR_NAME=${1:?}
|
||||
local VAR_VALUE=${2:?}
|
||||
echo "##vso[task.setvariable variable=${VAR_NAME};isoutput=true;isreadonly=true]${VAR_VALUE}"
|
||||
echo "${VAR_NAME}: ${VAR_VALUE}"
|
||||
}
|
||||
|
||||
set_var "ortPodVersion" "${VERSION}"
|
||||
echo "##vso[task.setvariable variable=ortPodVersion};]${VERSION}"
|
||||
echo "ortPodVersion : ${ortPodVersion}"
|
||||
displayName: "Set common variables"
|
||||
name: SetCommonVariables
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue