Skip to content

Commit

Permalink
Build: change NR build to .NET 8
Browse files Browse the repository at this point in the history
  • Loading branch information
jbe2277 committed Nov 22, 2023
1 parent dead433 commit 18a0976
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/NewsReader.CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Build
run: |
cd src/NewsReader/NewsReader.MauiSystem
dotnet publish -f:net7.0-android -c:Debug -p:ApplicationVersion=${{ needs.GetVersion.outputs.versionCode }} -p:ApplicationDisplayVersion=${{ needs.GetVersion.outputs.version }} # Workaround for https://github.com/dotnet/linker/issues/3126
dotnet publish -f:net8.0-android -c:Debug -p:ApplicationVersion=${{ needs.GetVersion.outputs.versionCode }} -p:ApplicationDisplayVersion=${{ needs.GetVersion.outputs.version }} # Workaround for https://github.com/dotnet/linker/issues/3126
- name: Upload AAB, APK
uses: actions/upload-artifact@v3
with:
Expand All @@ -45,7 +45,7 @@ jobs:
- name: Build
run: |
cd src/NewsReader/NewsReader.MauiSystem
dotnet publish -f:net7.0-windows10.0.19041.0 -c:Release -p:ApplicationDisplayVersion=${{ needs.GetVersion.outputs.version }}
dotnet publish -f:net8.0-windows10.0.19041.0 -c:Release -p:ApplicationDisplayVersion=${{ needs.GetVersion.outputs.version }}
iOS:
runs-on: macos-13
Expand All @@ -64,7 +64,7 @@ jobs:
- name: Build
run: |
cd src/NewsReader/NewsReader.MauiSystem
dotnet build -f net7.0-ios -c:Release /p:packageApp=false /p:buildForSimulator=true /p:ArchiveOnBuild=false -p:ApplicationVersion=${{ needs.GetVersion.outputs.version }} -p:ApplicationDisplayVersion=${{ needs.GetVersion.outputs.version }}
dotnet build -f net8.0-ios -c:Release /p:packageApp=false /p:buildForSimulator=true /p:ArchiveOnBuild=false -p:ApplicationVersion=${{ needs.GetVersion.outputs.version }} -p:ApplicationDisplayVersion=${{ needs.GetVersion.outputs.version }}
Test:
runs-on: windows-2022
Expand Down

0 comments on commit 18a0976

Please sign in to comment.