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

return-license does not support the macos runner #21

Open
oshaughnessy opened this issue Mar 22, 2022 · 2 comments
Open

return-license does not support the macos runner #21

oshaughnessy opened this issue Mar 22, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@oshaughnessy
Copy link

Context

Running game-ci/unity-return-license@main on the macos-latest runner. Right now I get this error when I try to run it:

Error: Container action is only supported on Linux

Suggested solution

I would like the action to support running on macOS, so I can manually return a license allocated to the GitHub macOS runners that may consume licenses and fail to return them.

Considered alternatives

Tried returning the license on an Ubuntu runner, but I got blocked at #20 when exploring this avenue.

Additional details

See also:

@davidmfinol davidmfinol added the enhancement New feature or request label Mar 23, 2022
@oshaughnessy
Copy link
Author

I think this may be a limitation of GitHub. I'm still digging through docs, but the table here -- https://docs.github.com/en/actions/creating-actions/about-custom-actions#types-of-actions -- says that Docker actions are only supported on Linux, so I may just be out of luck for now.

@oshaughnessy
Copy link
Author

Although... this gives me hope: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsstepsuses. I think we may be able to create a composite action that runs locally if it's on macos or in Docker otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants