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

GitHub Actions: Detecting the operating system with $runner.os #252

Closed
wants to merge 1 commit into from

Conversation

@hukkin
Copy link
Owner

hukkin commented Feb 19, 2025

Thanks, this seems good, but looking at the CI status page, GitHub Actions status is "Startup failure" and there's an error:

Invalid workflow file: .github/workflows/tests.yaml#L83
The workflow is not valid. .github/workflows/tests.yaml (Line: 83, Col: 11): Unrecognized named-value: 'runner'. Located at position 1 within expression: runner.os

Not sure why it cannot access the runner property.

@cclauss
Copy link
Author

cclauss commented Feb 19, 2025

Closing. $runner is not available until the steps: start executing. 😭

@cclauss cclauss closed this Feb 19, 2025
@cclauss cclauss deleted the patch-1 branch February 19, 2025 14:20
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

Successfully merging this pull request may close these issues.

2 participants