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.
This commit is contained in:
Falko
2023-12-25 11:53:38 +01:00
committed by GitHub
parent ce074787fb
commit 7c242f70d9
4 changed files with 1357 additions and 1351 deletions

2700
dist/index.js generated vendored

File diff suppressed because it is too large Load Diff

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@@ -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