From 6a0950996ecdf1dda30912b8e0b3d4bb26ec1236 Mon Sep 17 00:00:00 2001 From: Martin Benjamins Date: Mon, 25 Nov 2024 02:12:38 +0100 Subject: [PATCH] Bump action to .NET 9 --- .github/workflows/dotnet.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index e61237f..3f2b3d2 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -42,17 +42,17 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: Restore dependencies run: dotnet restore - name: Build - run: dotnet publish -c Release -r ${{ matrix.target }} --self-contained -f net8.0 + run: dotnet publish -c Release -r ${{ matrix.target }} --self-contained -f net9.0 - name: Test run: dotnet test --no-build --verbosity normal - name: Archive Release uses: thedoctor0/zip-release@main with: - directory: ${{ github.workspace }}/bin/Release/net8.0/${{ matrix.target }}/publish + directory: ${{ github.workspace }}/bin/Release/net9.0/${{ matrix.target }}/publish type: 'zip' filename: ${{ github.workspace }}/Release-${{ matrix.target }}.zip - name: Release