Skip to content

Commit

Permalink
disable net6.0 tests on GitHub Actions Ubuntu 24.04 runner image
Browse files Browse the repository at this point in the history
  • Loading branch information
smdn committed Jun 27, 2024
1 parent fabc5f4 commit 6ea30b1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/TargetFrameworks.props
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ SPDX-License-Identifier: MIT
<EnableTargetFrameworkNetFx Condition=" '$(GITHUB_ACTIONS)' != 'true' ">false</EnableTargetFrameworkNetFx>
</PropertyGroup>

<!-- On Ubuntu 24.04 -->
<PropertyGroup
Condition="
$([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier.StartsWith('ubuntu.24.04')) or
$([System.Runtime.InteropServices.RuntimeInformation]::OSDescription.StartsWith('Ubuntu 24.04'))
"
>
<!-- disable net6.0 on GitHub Actions Ubuntu 24.04 runner images -->
<EnableTargetFrameworkDotNet60 Condition=" '$(GITHUB_ACTIONS)' == 'true' ">false</EnableTargetFrameworkDotNet60>
</PropertyGroup>

<!-- On MacOS -->
<PropertyGroup Condition="$([System.OperatingSystem]::IsMacOS())">
<!-- disable net6.0 on GitHub Actions MacOS runner images -->
Expand Down

0 comments on commit 6ea30b1

Please sign in to comment.