Skip to content

Commit cd38927

Browse files
ejguanfacebook-github-bot
authored andcommitted
Fix workspace path (#486)
Summary: Add the missing env variable `WORKSPACE` to the workflow. See: https://github.com/pytorch/data/runs/6687888202?check_suite_focus=true#step:8:107 Pull Request resolved: #486 Reviewed By: NivekT Differential Revision: D36810167 Pulled By: ejguan fbshipit-source-id: 3a82646ebf6ef36fd4586fb543b316045160c346
1 parent aab67f3 commit cd38927

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/_build_test_upload.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,13 @@ jobs:
111111
run: |
112112
if ${{ startsWith( matrix.os, 'ubuntu' ) }}; then
113113
source packaging/manylinux/python_helper.sh
114+
# Docker path is /__w by default
115+
export WORKSPACE="/__w"
114116
# See: https://github.com/actions/checkout/issues/760
115117
git config --global --add safe.directory "$WORKSPACE/data/data"
116118
# AWSSDK uses $CMAKE_PREFIX_PATH to find openssl
117-
export OPENSSL_ROOT_DIR="/__w/ssl"
118-
export CURL_ROOT_DIR="/__w/curl"
119+
export OPENSSL_ROOT_DIR="$WORKSPACE/ssl"
120+
export CURL_ROOT_DIR="$WORKSPACE/curl"
119121
export CMAKE_PREFIX_PATH="$OPENSSL_ROOT_DIR:$CURL_ROOT_DIR:$CMAKE_PREFIX_PATH"
120122
export STATIC_DEPS=TRUE
121123
fi

0 commit comments

Comments
 (0)