Skip to content

Fixing package uploads again... #11

Fixing package uploads again...

Fixing package uploads again... #11

Workflow file for this run

name: Build Mac
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: macos-latest
env:
Solution_Name: OpenOTDR
CS_Project_Directory: OpenOTDR
CS_Project_Path: OpenOTDR/OpenOTDR.csproj
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Install MAUI Workloads
run: |
dotnet workload install maccatalyst --ignore-failed-sources
dotnet workload install maui --ignore-failed-sources
- name: Build MAUI MacCatalyst
run: dotnet publish ${{ env.CS_Project_Path }} -c Release -f net8.0-maccatalyst -p:BuildIpa=True
- name: Upload MacCatalyst Artifact
uses: actions/[email protected]
with:
name: macos-ci-build
path: src/${{ env.Solution_Name }}/bin/Release/net8.0-maccatalyst/