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

Identify Ubuntu version automatically? #279

Open
evandam opened this issue Jun 3, 2024 · 1 comment
Open

Identify Ubuntu version automatically? #279

evandam opened this issue Jun 3, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@evandam
Copy link

evandam commented Jun 3, 2024

Is your feature request related to a problem?

Not related to a problem, but it would be nice if we could avoid having to set the ImageOS env var and the action could detect it for us (at least some of the time).

Describe the feature you'd like

For Ubuntu-based runners (and possibly other Linux distros), it would be great if the action could just read from /etc/os-release things like ID=ubuntu and VERSION_ID=24.04 for example, rather than users setting ImageOS=ubuntu24 explicitly.

Describe alternatives you've considered

Setting ImageOS works, just a thought for a small improvement 😄

Additional context

Hopefully it makes sense and would be helpful!

@paulo-ferraz-oliveira
Copy link
Collaborator

Makes sense to me. The action could then throw only if you haven't been able to deduce it from the OS.

@paulo-ferraz-oliveira paulo-ferraz-oliveira added enhancement New feature or request help wanted Extra attention is needed labels Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants