Skip to content

Commit

Permalink
#258 - Update CI pipeline for .NET 9, Use Xcode 16.2, Bump App ver, B…
Browse files Browse the repository at this point in the history
…uild android in release mode.
  • Loading branch information
OudomMunint committed Jan 13, 2025
1 parent 3bdb356 commit fb22c0c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ A `To-Do list` app that performs CRUD operations. Made with `.Net MAUI`, `SQLite

> [!NOTE]
> FaceID, TouchID and AndroidOS equivalent must be enrolled or settings will be disabled.
> Biomertic information access is required for biometrics.
> Biomertic information access is required.
## Clean scripts

Expand Down
2 changes: 1 addition & 1 deletion ToDoListApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<ApplicationIdGuid>14966315-2970-4b3d-9ece-fe82a9956394</ApplicationIdGuid>

<!-- Versions -->
<ApplicationDisplayVersion>1.7.7.8</ApplicationDisplayVersion> <!--is = Release Tags-->
<ApplicationDisplayVersion>1.7.8</ApplicationDisplayVersion> <!--is = Release Tags-->
<ApplicationVersion>$([System.DateTime]::Now.ToString('yyyyMMddHH'))</ApplicationVersion>

<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion>
Expand Down

0 comments on commit fb22c0c

Please sign in to comment.