generated from actions/javascript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
Support non runner
user on self-hosted runners
#583
Comments
fkorotkov
added a commit
to fkorotkov/setup-ruby
that referenced
this issue
Apr 22, 2024
Current workaround if you have "admin" user is to run the following first to pre-create - name: Ruby Workaround
run: sudo mkdir -p /Users/runner && sudo chown -R admin:admin /Users/runner |
See #584 (comment), it's not fixable. |
Basically the same as actions/setup-python#708 (comment) actually |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ensure the following before filing this issue
I verified it reproduces with the latest version with
- uses: ruby/setup-ruby@v1
(see Versioning policy)I tried to reproduce the issue locally by following the workflow steps (including all commands done by
ruby/setup-ruby
, except forDownloading Ruby
&Extracting Ruby
),and it did not reproduce locally (if it does reproduce locally, it's not a ruby/setup-ruby issue)
Are you running on a GitHub-hosted runner or a self-hosted runner?
self-hosted runner
Link to the failed workflow job (must be a public workflow job, so the necessary information is available)
https://github.com/cirruslabs/actions-playground/actions/runs/8781520697/job/24093712039
Any other notes?
Self-mosted macOS runners not always use
runner
as the user name. Right nowrunner
user name is hard coded:setup-ruby/common.js
Lines 267 to 269 in 6bd3d99
Can probably be fixed similar to actions/setup-python#708
The text was updated successfully, but these errors were encountered: