From 3dccd6f59ac81b49fd6d9bc041bb33e994ab48c1 Mon Sep 17 00:00:00 2001 From: James Clancey Date: Fri, 18 Mar 2022 11:51:10 -0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3c915480..57034ce8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,11 +51,26 @@ jobs: # dotnet tool update -g dotnet-vs # & echo "$(vs where preview --prop=InstallationPath)\MSBuild\Current\Bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - + + - name: Install and Run maui-check Tool + shell: pwsh + run: | + & dotnet tool update --global redth.net.maui.check + & maui-check --skip dotnet --verbose --non-interactive --fix --skip androidsdk --skip xcode --skip vswin --skip vsmac --skip edgewebview2 + + # - name: Install Maui Workload + # shell: pwsh + # run: | + # & dotnet workload install android ios maccatalyst tvos macos maui wasm-tools ` + # --from-rollback-file https://aka.ms/dotnet/maui/preview.14.json ` + # --source https://aka.ms/dotnet6/nuget/index.json ` + # --source https://api.nuget.org/v3/index.json + + - name: Run Dotnet setup shell: pwsh run: | - & dotnet workload install maui + & dotnet build build/DotNet/DotNet.csproj - name: Set Maui Version run: dotnet run --project build/MauiVersionUpdater/MauiVersionUpdater.csproj -- https://aka.ms/dotnet/maui/preview.14.json