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

Fail at running action #387

Closed
hernan-peralta opened this issue Dec 27, 2021 · 3 comments
Closed

Fail at running action #387

hernan-peralta opened this issue Dec 27, 2021 · 3 comments

Comments

@hernan-peralta
Copy link

Hello, I was using a workflow with this action and it worked correctly up until last week, I think this PR caused the issue: #379

Here's the console output error:

[Main/build] ⭐  Run KengoTODA/actions-setup-docker-compose@main
INFO[0000]   ☁  git clone 'https://github.com/KengoTODA/actions-setup-docker-compose' # ref=main 
[Main/build]   ❌  Failure - KengoTODA/actions-setup-docker-compose@main
Error: The runs.using key in action.yml must be one of: [composite docker node12], got node16
@KengoTODA
Copy link
Owner

Yes now this Action uses node16 as runtime. If you're using GHES, use v3.0 or later. According to the official doc, 3.0 and later already support node16 as runtime:

https://docs.github.com/en/enterprise-server@3.0/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-javascript-actions

@hernan-peralta
Copy link
Author

Thank you for the reply. I'm actually using act, so I guess it must be some kind of incompatibility then. I temporarily fixed it by replacing the docker-compose call in main.yml with an equivalent docker command.

@KengoTODA
Copy link
Owner

I believe that this issue has been fixed on the act side by nektos/act#910

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