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

Docker Build Path Problem #433

Closed
emrahyumuk opened this issue Sep 15, 2022 · 3 comments · Fixed by #529
Closed

Docker Build Path Problem #433

emrahyumuk opened this issue Sep 15, 2022 · 3 comments · Fixed by #529
Labels
bug Something isn't working

Comments

@emrahyumuk
Copy link

Bug description

Game CI Unity build runs in /github/workspace path in docker. After getting build on Ubuntu, I move the file to macos with artifact. But some build inputs search files in /github/workspace path. For example sdk classes files (/github/workspace/iOS/Classes/Blabla.swift) I can't create /github path in github hosted macos runner. And It does not find file in path.

How to reproduce

If I can pass the path in docker as a parameter, it will work without any problems. But default is /github/workspace. I don't know if there is a way to do this

@emrahyumuk emrahyumuk added the bug Something isn't working label Sep 15, 2022
@emrahyumuk emrahyumuk changed the title Game CI Docker Build Path Problem Docker Build Path Problem Sep 15, 2022
@AndrewKahr
Copy link
Member

@emrahyumuk I've added a dockerWorkspacePath parameter to my test branch. If you provide it with the path that you want it to mount to within the docker container, ie: /my/path/to/folder, it should fix the issue you've been facing. Could you test that parameter using the action AndrewKahr/unity-builder@misc-fixes and let me know if that works?

AndrewKahr added a commit to AndrewKahr/unity-builder that referenced this issue Mar 20, 2023
@AndrewKahr
Copy link
Member

@emrahyumuk Apologies, I don't think the commit got pushed. If you tested it before now, it might've been outdated.

@AndrewKahr
Copy link
Member

@emrahyumuk Were you able to test the changes and did they fix the issue?

@AndrewKahr AndrewKahr mentioned this issue Mar 28, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants