mirror of
https://github.com/wassname/ray.git
synced 2026-07-17 11:32:33 +08:00
Change GitHub Actions path to one with spaces (#8850)
Co-authored-by: Mehrdad <noreply@github.com>
This commit is contained in:
@@ -28,7 +28,6 @@ jobs:
|
||||
python-version: 3.6
|
||||
env:
|
||||
PYTHON: ${{ matrix.python-version }}
|
||||
TRAVIS_BUILD_DIR: ${{ github.workspace }}
|
||||
TRAVIS_COMMIT: ${{ github.sha }}
|
||||
#TRAVIS_PULL_REQUEST is defined in the scripts to account for "false"
|
||||
steps:
|
||||
@@ -37,6 +36,8 @@ jobs:
|
||||
shell: bash -e -o pipefail -l {0}
|
||||
run: |
|
||||
# Note: only configure settings here that are required _before_ the repository is cloned (such as Git settings).
|
||||
# Put a path with spaces (and use common words like 'src') to verify correct builds
|
||||
export GITHUB_WORKSPACE="${GITHUB_WORKSPACE%/*} src/${GITHUB_WORKSPACE##*/}"
|
||||
if [ ! -f ~/.profile ] && [ ! -f ~/.bash_profile ]; then # missing on some machines, but needed for ~/.bashrc
|
||||
echo 'if [ -n "${BASH_VERSION}" ] && [ -f ~/.bashrc ]; then . ~/.bashrc; fi' >> ~/.profile
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user