-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#258 - Update CI pipeline for .NET 9, Use Xcode 16.2, Bump App ver, B…
…uild android in release mode.
- Loading branch information
1 parent
3bdb356
commit fb22c0c
Showing
3 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,10 +19,10 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup .NET 8.0 | ||
- name: Setup .NET 9.0 | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 8.x | ||
dotnet-version: 9.x | ||
|
||
- name: Install MAUI Workload | ||
run: dotnet workload install maui --ignore-failed-sources | ||
|
@@ -31,13 +31,13 @@ jobs: | |
run: dotnet restore ToDoListApp.csproj | ||
|
||
- name: Build MAUI Android | ||
run: dotnet publish ToDoListApp.sln -c Debug -f net8.0-android | ||
run: dotnet publish ToDoListApp.sln -c Release -f net9.0-android | ||
|
||
# - name: Upload Android Artifact | ||
# uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 | ||
# with: | ||
# name: ToDoList-android-ci-build | ||
# path: .NetMAUI-To-Do-List-App/bin/Release/net8.0-android/*Signed.a* | ||
# path: .NetMAUI-To-Do-List-App/bin/Release/net9.0-android/*Signed.a* | ||
|
||
|
||
# MAUI iOS Build | ||
|
@@ -48,30 +48,30 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup .NET 8 | ||
- name: Setup .NET 9 | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 8.x | ||
dotnet-version: 9.x | ||
|
||
- name: Install MAUI Workloads | ||
run: | | ||
dotnet workload install ios --ignore-failed-sources | ||
dotnet workload install maui --ignore-failed-sources | ||
- name: Select Xcode 15.4 | ||
run: sudo xcode-select -s /Applications/Xcode_16.0.app | ||
- name: Select Xcode 16.2 | ||
run: sudo xcode-select -s /Applications/Xcode_16.2.app | ||
|
||
- name: Build MAUI iOS | ||
run: | | ||
dotnet build ToDoListApp.csproj -c Release -f net8.0-ios | ||
dotnet build ToDoListApp.csproj -c Release -f net9.0-ios | ||
# - name: Upload iOS Artifact | ||
# uses: actions/[email protected] | ||
# with: | ||
# name: ios-ci-build | ||
# path: src/MauiBeach/bin/Release/net6.0-ios/**/*.app/ | ||
# path: src/ToDoListApp/bin/Release/net6.0-ios/**/*.app/ | ||
|
||
- name: Create Release | ||
uses: ncipollo/[email protected] | ||
with: | ||
tag: v1.7.7.8 | ||
tag: v1.7.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters