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

fix GOOS parsing to match expected GHA RUNNER_OS values #2422

Merged
merged 2 commits into from
Aug 13, 2024

Conversation

benniekiss
Copy link
Contributor

github actions reports RUNNER_OS for linux and windows with capital letters (Linux, Windows). This should increase compatibility when runner uses -self-hosted

Currently, when workflows are run within containers, RUNNER_OS is hardcoded to Linux correctly, so this will make RUNNER_OS more consistent.

Closes #1990

github actions reports RUNNER_OS for linux and windows with capital letters (Linux, Windows). This should increase compatibility when runner uses `-self-hosted`
@benniekiss benniekiss requested a review from a team as a code owner August 12, 2024 21:30
Copy link
Contributor

mergify bot commented Aug 13, 2024

@benniekiss this pull request has failed checks 🛠

@mergify mergify bot added the needs-work Extra attention is needed label Aug 13, 2024
Copy link

codecov bot commented Aug 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.57%. Comparing base (5a80a04) to head (aec7373).
Report is 99 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #2422       +/-   ##
===========================================
+ Coverage   61.56%   76.57%   +15.01%     
===========================================
  Files          53       62        +9     
  Lines        9002     8159      -843     
===========================================
+ Hits         5542     6248      +706     
+ Misses       3020     1345     -1675     
- Partials      440      566      +126     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

mergify bot commented Aug 13, 2024

@benniekiss this pull request has failed checks 🛠

@mergify mergify bot removed the needs-work Extra attention is needed label Aug 13, 2024
@mergify mergify bot merged commit 60a2fed into nektos:master Aug 13, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

$RUNNER_OS and "${{ runner.os }}" case differs from Github Actions
3 participants