Skip to content

add meta-data info

add meta-data info #13

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: Build project on macOS
on:
push:
branches: [ "main" ]
paths-ignore:
- "**.md"
pull_request:
branches: [ "main" ]
env:
LIB_CSPROJ: PJ.NavigationTrans.Maui/PJ.NavigationTrans.Maui.csproj
SAMPLE_CSPROJ: PJ.NavigationTrans.Sample/PJ.NavigationTrans.Sample.csproj
jobs:
build:
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '16.3'
- name: Workload install
run: dotnet workload install maui
- name: Restore library dependencies
run: dotnet restore ${{env.LIB_CSPROJ}}
- name: Restore sample dependencies
run: dotnet restore
- name: Build library
run: dotnet build ${{env.LIB_CSPROJ}} -c Release -f net9.0-ios --no-restore
- name: Build Sample app
run: dotnet build ${{env.SAMPLE_CSPROJ}} -c Release -f net9.0-ios --no-restore