Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set fullProjectPath variable in entrypoint.sh #256

Merged
merged 2 commits into from
Dec 25, 2023

Conversation

falko17
Copy link
Contributor

@falko17 falko17 commented Dec 24, 2023

Changes

This fixes the bug described in #255, i.e., it correctly sets the fullProjectPath variable in entrypoint.sh (the same way as it's done in https://github.com/game-ci/unity-builder).
This also adds a test that runs edit mode tests1 as the host user, which should hopefully catch issues like these.

Related Issues

Successful Workflow Run Link

Checklist

  • Read the contribution guide and accept the code of conduct
  • Docs (not applicable)
  • Readme (not applicable)
  • Tests (added)

Footnotes

  1. I have only done this for edit tests, as the type of test (or the platform) should not be affected by the choice to run this as the host user, and I did not want to double the number of tests.

Copy link

Cat Gif

@falko17 falko17 changed the title Set fullProjectPath variable in entrypoint.sh (#255) Set fullProjectPath variable in entrypoint.sh Dec 24, 2023
dist/platforms/ubuntu/entrypoint.sh Outdated Show resolved Hide resolved
@webbertakken webbertakken merged commit 7c242f7 into game-ci:main Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fullProjectPath is not set when using runAsHostUser
3 participants