More portable conditional
This commit is contained in:
parent
e61e75584a
commit
1a4672e257
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# Only use Docker stuff on Linux
|
||||
if [[ "`uname -s`" == "Linux" ]]; then
|
||||
if [[ -n "${{ parameters.container }}" ]]; then
|
||||
docker run --rm -v "$(sourcesPath):/vmr" -w /vmr ${{ parameters.container }} ./prep.sh $customPrepArgs
|
||||
else
|
||||
cd $(sourcesPath)
|
||||
|
|
Loading…
Add table
Reference in a new issue