Skip to content

Self-hosted Runner on MacOS asking for password #10

Closed
@ibebbs

Description

@ibebbs

Hi,

Thanks for this action, it's working perfectly when used within hosted runners on Github. However, Github's 10x minutes usage for MacOS builds is killing my allowance so I'm trying to set up a self-hosted runner.

I followed all the Github instruction and the runner starts and waits for Jobs correctly. Unfortunately, when it starts running my build job and encounters the setup-xamarin (v1.1) action, the self-hosted runner prompts for a password.

I believe this is due to commands the action is invoking which require 'sudo' priviledges. Looking this up, it appears that sudo should run passwordless which makes me believe sudo is not being specified as part of the command.

Looking at the source code for the action, I can see that options can be specified such that sudo is prefixed to the command but I can't find any instructions on how to specify these options.

Could you point me in the direction of instructions or example build scripts that specify these options?

Thanks again,
Ian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions