You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today, the runs-on type in settings must be a string (can be a comma
separated number of runner tags) and the runs-on property under
environment needs to be an array of strings = runner tags.
This PR makes the runs-on under Environments become a string as well,
but support arrays, to not break old settings files.
Fixes#1182
FIxes https://www.yammer.com/dynamicsnavdev/threads/3172600716926976
This means that this setting:

Yields identical os settings in environment matrix json:
```
EnvironmentsMatrixJson={"matrix":{"include":[{"environment":"TEST","os":"[\"windows-latest\",\"windows-2022\"]","shell":"powershell"},{"environment":"TEST2","os":"[\"windows-latest\",\"windows-2022\"]","shell":"powershell"}]},"fail-fast":false}
```
The PR also ensures that shell becomes pwsh if runs-on is `*ubuntu-*`
---------
Co-authored-by: freddydk <[email protected]>
0 commit comments