From 3ce6856d03c0366640c10bdc0aef5c117ff4804c Mon Sep 17 00:00:00 2001 From: Mario Adam Date: Wed, 4 Dec 2024 12:20:51 +0100 Subject: [PATCH] Upgrade to cake v5 and .net 9 --- .github/workflows/CI.yml | 2 +- .github/workflows/Release.yml | 2 +- dotnet-tools.json | 2 +- src/CakeExt.Git/CakeExt.Git.csproj | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ccf2d58..fe338f6 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -18,7 +18,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v2 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: Restore local tools run: dotnet tool restore - name: Build diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 0201fea..3d9001e 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -16,7 +16,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v2 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: Restore local tools run: dotnet tool restore - name: Build diff --git a/dotnet-tools.json b/dotnet-tools.json index bdac5f4..f92efc2 100644 --- a/dotnet-tools.json +++ b/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "cake.tool": { - "version": "3.1.0", + "version": "5.0.0", "commands": [ "dotnet-cake" ] diff --git a/src/CakeExt.Git/CakeExt.Git.csproj b/src/CakeExt.Git/CakeExt.Git.csproj index 341dd0d..d8b20b9 100644 --- a/src/CakeExt.Git/CakeExt.Git.csproj +++ b/src/CakeExt.Git/CakeExt.Git.csproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 enable enable true @@ -10,8 +10,8 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive