Set env vars from script

This commit is contained in:
Basile Henry 2020-07-05 23:09:35 +02:00
parent e096d7ffbe
commit 214a853c08

View File

@ -20,5 +20,8 @@ curl -L "$ONNXRUNTIME_RELEASE_URL" --output "$ONNXRUNTIME_RELEASE.tgz"
tar -xzf "$ONNXRUNTIME_RELEASE.tgz" "$ONNXRUNTIME_RELEASE"
export ONNXRUNTIME_LIB_DIR="$PWD/$ONNXRUNTIME_RELEASE/lib/"
export ONNXRUNTIME_INCLUDE_DIR="$PWD/$ONNXRUNTIME_RELEASE/include"
# Set env vars for following steps
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"