Update SeasonalBiteCI.yml #10
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
name: SeasonalBite CI | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Xcode | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: '15.4' | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '8.0.x' | |
- name: Install MAUI Workloads | |
run: | | |
dotnet workload install maui-android | |
dotnet workload install maui-ios | |
dotnet workload install maui-maccatalyst | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build the project | |
run: | | |
dotnet build -f net8.0-android --configuration Release | |
dotnet build -f net8.0-ios --configuration Release | |
dotnet build -f net8.0-maccatalyst --configuration Release | |
- name: Run tests | |
run: dotnet test |