diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 4903ba5..43e6f74 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "cake.tool": { - "version": "1.3.0", + "version": "5.0.0", "commands": [ "dotnet-cake" ] diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f85d389..944001e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,29 +42,27 @@ jobs: WYAM_DEPLOY_REMOTE: ${{ github.event.repository.html_url }} steps: - name: Checkout the repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Fetch all tags and branches run: git fetch --prune --unshallow - name: Install .NET SDK - uses: actions/setup-dotnet@v4.0.0 + uses: actions/setup-dotnet@v4 with: # gitversion needs 5.0 and we need all SDKs the project is targeting - dotnet-version: | - 5.0.403 - 6.0.100 - 7.0.100 + dotnet-version: | 8.0.100 + 9.0.100 - name: Cache Tools - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: tools key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} - name: Build project - uses: cake-build/cake-action@v1.4.1 + uses: cake-build/cake-action@v2 with: script-path: recipe.cake target: CI @@ -72,14 +70,14 @@ jobs: cake-version: tool-manifest - name: Upload Issues-Report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: if-no-files-found: warn name: issues path: BuildArtifacts/report.html - name: Upload Packages - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: if-no-files-found: warn name: package diff --git a/src/Cake.FileHelpers.Tests/Cake.FileHelpers.Tests.csproj b/src/Cake.FileHelpers.Tests/Cake.FileHelpers.Tests.csproj index 6b2f4cb..cb4bd26 100644 --- a/src/Cake.FileHelpers.Tests/Cake.FileHelpers.Tests.csproj +++ b/src/Cake.FileHelpers.Tests/Cake.FileHelpers.Tests.csproj @@ -1,19 +1,19 @@  - net6.0;net7.0;net8.0 + net8.0;net9.0 - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/src/Cake.FileHelpers/Cake.FileHelpers.csproj b/src/Cake.FileHelpers/Cake.FileHelpers.csproj index ee09a6b..5611f49 100644 --- a/src/Cake.FileHelpers/Cake.FileHelpers.csproj +++ b/src/Cake.FileHelpers/Cake.FileHelpers.csproj @@ -1,6 +1,6 @@  - net6.0;net7.0;net8.0 + net8.0;net9.0 true true true @@ -23,10 +23,10 @@ - - + + - + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -43,5 +43,7 @@ - + + + \ No newline at end of file