From 5e6232f3f8ad36acf309f247ba0919aedd668676 Mon Sep 17 00:00:00 2001 From: Brandon Minnick <13558917+brminnick@users.noreply.github.com> Date: Sun, 26 May 2024 15:17:47 -0700 Subject: [PATCH] Update to .NET 8.0 --- .github/workflows/build.yml | 40 ++++++++++++++++----------------- .github/workflows/unittests.yml | 2 +- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 815565d..6a79cc4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,10 +15,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Setup .NET v7.0 + - name: Setup .NET v8.0 uses: actions/setup-dotnet@v3 with: - dotnet-version: "7.0.x" + dotnet-version: "8.0.x" - name: Install .NET MAUI Workload run: | @@ -32,7 +32,7 @@ jobs: MobileProjectDirectory=`dirname $MobileProject` echo $MobileProjectDirectory - dotnet build $MobileProjectDirectory -f:net7.0-android -c Release + dotnet build $MobileProjectDirectory -f:net8.0-android -c Release iOS: runs-on: macos-13 @@ -40,10 +40,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Setup .NET v7.0 + - name: Setup .NET v8.0 uses: actions/setup-dotnet@v3 with: - dotnet-version: "7.0.x" + dotnet-version: "8.0.x" - name: Install .NET MAUI Workload run: | @@ -62,7 +62,7 @@ jobs: MobileProjectDirectory=`dirname $MobileProject` echo $MobileProjectDirectory - dotnet build $MobileProjectDirectory -f:net7.0-ios -c Release + dotnet build $MobileProjectDirectory -f:net8.0-ios -c Release MacCatalyst: runs-on: macos-13 @@ -70,10 +70,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Setup .NET v7.0 + - name: Setup .NET v8.0 uses: actions/setup-dotnet@v3 with: - dotnet-version: "7.0.x" + dotnet-version: "8.0.x" - name: Install .NET MAUI Workload run: | @@ -92,7 +92,7 @@ jobs: MobileProjectDirectory=`dirname $MobileProject` echo $MobileProjectDirectory - dotnet build $MobileProjectDirectory -f:net7.0-maccatalyst -c Release + dotnet build $MobileProjectDirectory -f:net8.0-maccatalyst -c Release Windows: runs-on: windows-latest @@ -105,10 +105,10 @@ jobs: distribution: 'microsoft' java-version: '11' - - name: Setup .NET v7.0 + - name: Setup .NET v8.0 uses: actions/setup-dotnet@v3 with: - dotnet-version: "7.0.x" + dotnet-version: "8.0.x" - name: Install .NET MAUI Workload run: | @@ -116,7 +116,7 @@ jobs: - name: Build Windows App run: | - dotnet build ./samples/GitStatus.Mobile/ -c Release -f net7.0-windows10.0.19041.0 + dotnet build ./samples/GitStatus.Mobile/ -c Release -f net8.0-windows10.0.19041.0 API: runs-on: macos-latest @@ -124,10 +124,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Setup .NET v7.0 + - name: Setup .NET v8.0 uses: actions/setup-dotnet@v3 with: - dotnet-version: '7.0.x' + dotnet-version: '8.0.x' - name: Build API App run: | @@ -145,10 +145,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Setup .NET v7.0 + - name: Setup .NET v8.0 uses: actions/setup-dotnet@v3 with: - dotnet-version: '7.0.x' + dotnet-version: '8.0.x' - name: Build Console App run: | @@ -166,10 +166,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Setup .NET v7.0 + - name: Setup .NET v8.0 uses: actions/setup-dotnet@v3 with: - dotnet-version: '7.0.x' + dotnet-version: '8.0.x' - name: Build Web App run: | @@ -187,10 +187,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Setup .NET v7.0 + - name: Setup .NET v8.0 uses: actions/setup-dotnet@v3 with: - dotnet-version: '7.0.x' + dotnet-version: '8.0.x' - name: Build Web App run: | diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 381e1a8..d54654a 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -22,7 +22,7 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: | - 7.0.x + 8.0.x 6.0.x 3.1.x 2.1.x