Set fullProjectPath variable in entrypoint.sh (#256)
* Set fullProjectPath variable in entrypoint.sh (#255) * Add test that runs as host user This should catch bugs like the one described in #255.pull/258/head v4.1.1
parent
ce074787fb
commit
7c242f70d9
|
@ -144,6 +144,9 @@ jobs:
|
|||
- 2023.2.2f1
|
||||
projectPath:
|
||||
- unity-project-with-correct-tests
|
||||
runAsHostUser:
|
||||
- true
|
||||
- false
|
||||
steps:
|
||||
###########################
|
||||
# Checkout #
|
||||
|
@ -170,6 +173,7 @@ jobs:
|
|||
with:
|
||||
projectPath: ${{ matrix.projectPath }}
|
||||
unityVersion: ${{ matrix.unityVersion }}
|
||||
runAsHostUser: ${{ matrix.runAsHostUser }}
|
||||
testMode: editmode
|
||||
artifactsPath: artifacts/editmode
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -9,6 +9,8 @@ fi
|
|||
if [[ "$RUN_AS_HOST_USER" == "true" ]]; then
|
||||
echo "Running as host user"
|
||||
|
||||
fullProjectPath="$GITHUB_WORKSPACE/$PROJECT_PATH"
|
||||
|
||||
# Stop on error if we can't set up the user
|
||||
set -e
|
||||
|
||||
|
|
Loading…
Reference in New Issue