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

Error regarding ec2 os input #176

Open
danielMCF99 opened this issue Dec 18, 2023 · 1 comment
Open

Error regarding ec2 os input #176

danielMCF99 opened this issue Dec 18, 2023 · 1 comment

Comments

@danielMCF99
Copy link

Hi. I copied the code present here https://github.com/marketplace/actions/on-demand-self-hosted-aws-ec2-runner-for-github-actions-with-windows-support for a github workflow file and it gives me an error regarding de ec2 os action input. When looking at the action.yaml, there is nothing regarding the OS field. Is the action documentation out of date?

@jeff-m-sullivan
Copy link

Just want to point out that the action you're referencing is a fork maintained by someone else, but I think I see the problem.

The sample code specifies a Linux runner using ec2-base-os while the documentation has a parameter with a slightly different name:

ec2-os Optional. Used only with the start mode. Base OS type of the EC2 image (AMI). This defaults to Linux. The new runner needs to be configured based on OS:- windows- linux

Given that the code in that fork specifies the parameter as ec2-os, it seems like the sample code there is out-of-date.

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

No branches or pull requests

2 participants