Skip to content

Commit

Permalink
(maint) Update dotnet monorepo to v9 (major) (cake-contrib#362)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nils Andresen <[email protected]>
  • Loading branch information
renovate[bot] and nils-a authored Nov 18, 2024
1 parent f7fb93c commit 45d0e64
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ jobs:
# codecov needs 2.1
# unittests needs 3.1
# gitversion needs 5.0
# .NET 6/7 to build
# cake 1.3 needs 6.0
# .NET 9 to build
dotnet-version: |
2.1
3.1
5.0
6.0
7.0
8.0
9.0
- name: Cache Tools
uses: actions/cache@v4
with:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,13 @@ jobs:

- uses: actions/[email protected]
with:
# gitversion needs 5.0
# cake 1.3 needs 6.0
# .NET 9 to build
dotnet-version: |
5.0
8.0
6.0
9.0
- name: Cache Tools
uses: actions/cache@v4
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
"version": "8.0.404",
"version": "9.0.100",
"rollForward": "latestFeature"
}
}
2 changes: 1 addition & 1 deletion src/Tasks/Tasks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">
<PackageReference Include="System.Text.Encoding.CodePages" Version="8.0.0" CopyLocal="false" Publish="false" PrivateAssets="All" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="9.0.0" CopyLocal="false" Publish="false" PrivateAssets="All" />
</ItemGroup>
<Target Name="RemoveMicrosoftBuildDllsFromOutput" AfterTargets="ResolveReferences">
<PropertyGroup>
Expand Down

0 comments on commit 45d0e64

Please sign in to comment.