Need to update xcode project with team id for it to build #5
This file contains hidden or 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
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: | | |
| 9.0.x | |
| 8.0.x | |
| 7.0.x | |
| 6.0.x | |
| # Using "dotnet workload restore" does not work running on 9.0.300 workloads | |
| # So we install them manually and hard coded | |
| - name: Install MAUI workloads | |
| run: dotnet workload install maui-ios maui-android | |
| - name: Update Xcode Project provisioning | |
| uses: ./.github/actions/update-provisioning | |
| with: | |
| team: '${{ secrets.XCODE_DEVELOPMENT_TEAM }}' | |
| project: 'MAUI.Native.Embedded.Sample/Platforms/iOS/MAUI.Native.Embedded.ios/MAUI.Native.Embedded.ios.xcodeproj' | |
| - name: Build | |
| run: dotnet build --configuration Release ./MAUI.Native.Embedded.Sample/ |