MAUI workloads for test restore. #116
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
| name: Test Packages | |
| on: | |
| push: | |
| jobs: | |
| build: | |
| name: Test Packages | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET SDK | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '8.0' | |
| - name: Install MAUI Workloads | |
| run: dotnet workload restore | |
| - name: Download PowerSync extension | |
| run: dotnet run --project Tools/Setup | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Run tests | |
| run: dotnet test -v n --framework net8.0 |