Skip to content

Commit

Permalink
Update to .NET 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
brminnick committed May 26, 2024
1 parent 9ee763a commit 5e6232f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -32,18 +32,18 @@ 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

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: |
Expand All @@ -62,18 +62,18 @@ 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

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: |
Expand All @@ -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
Expand All @@ -105,29 +105,29 @@ 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: |
dotnet workload install maui
- 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

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: |
Expand All @@ -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: |
Expand All @@ -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: |
Expand All @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5e6232f

Please sign in to comment.