Set env vars from script
This commit is contained in:
parent
e096d7ffbe
commit
214a853c08
7
.github/scripts/setup-env.sh
vendored
7
.github/scripts/setup-env.sh
vendored
@ -20,5 +20,8 @@ curl -L "$ONNXRUNTIME_RELEASE_URL" --output "$ONNXRUNTIME_RELEASE.tgz"
|
|||||||
|
|
||||||
tar -xzf "$ONNXRUNTIME_RELEASE.tgz" "$ONNXRUNTIME_RELEASE"
|
tar -xzf "$ONNXRUNTIME_RELEASE.tgz" "$ONNXRUNTIME_RELEASE"
|
||||||
|
|
||||||
export ONNXRUNTIME_LIB_DIR="$PWD/$ONNXRUNTIME_RELEASE/lib/"
|
# Set env vars for following steps
|
||||||
export ONNXRUNTIME_INCLUDE_DIR="$PWD/$ONNXRUNTIME_RELEASE/include"
|
|
||||||
|
echo "::set-env name=LD_LIBRARY_PATH::$PWD/$ONNXRUNTIME_RELEASE/lib/"
|
||||||
|
echo "::set-env name=ONNXRUNTIME_LIB_DIR::$PWD/$ONNXRUNTIME_RELEASE/lib/"
|
||||||
|
echo "::set-env name=ONNXRUNTIME_INCLUDE_DIR::$PWD/$ONNXRUNTIME_RELEASE/include"
|
||||||
|
Loading…
Reference in New Issue
Block a user