Skip to content

Commit

Permalink
[build] fix .NET 6 version (dotnet#181)
Browse files Browse the repository at this point in the history
Fixes: dotnet#180

* Update to maui-check 0.6.1
* Run maui-check without --main or --preview
* Ignore exit code on Windows due to WebView2 check
* Delete Entitlements.plist
  • Loading branch information
jonathanpeppers authored Jul 15, 2021
1 parent 0937533 commit f2c13a8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
6 changes: 0 additions & 6 deletions HelloMaui/Platforms/iOS/Entitlements.plist

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This is a community supported, open source, global dotnet tool intended to help

Install: `dotnet tool update -g redth.net.maui.check --version 0.6.1`

Run: `maui-check --preview`
Run: `maui-check`

This will evaluate your environment and in most cases optionally install / configure missing components for you, such as:

Expand Down
11 changes: 6 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ pr:

variables:
IsRunningOnCI: true
DotNetVersion: 6.0.100-preview.6.21313.2
DotNetVersion: 6.0.100-preview.6.21355.2
DotNet.Cli.Telemetry.OptOut: true
MauiCheck.Version: 0.6.0-pre01
MauiCheck.Version: 0.6.1

jobs:
- job: windows
Expand All @@ -31,9 +31,10 @@ jobs:
- powershell: |
& dotnet tool update --global redth.net.maui.check --version $(MauiCheck.Version) --add-source https://api.nuget.org/v3/index.json
& maui-check --ci --non-interactive --fix --skip androidsdk --skip xcode --skip vswin --skip vsmac --main
& maui-check --ci --non-interactive --fix --skip androidsdk --skip xcode --skip vswin --skip vsmac
displayName: maui-check
errorActionPreference: stop
errorActionPreference: continue
ignoreLASTEXITCODE: true
- powershell: |
& dotnet build net6-samples.sln -c Debug -bl:$(LogDirectory)\Debug.binlog
Expand Down Expand Up @@ -96,7 +97,7 @@ jobs:
- bash: >
dotnet tool update --global redth.net.maui.check --version $(MauiCheck.Version) --add-source https://api.nuget.org/v3/index.json &&
maui-check --ci --non-interactive --fix --skip androidsdk --skip xcode --skip vswin --skip vsmac --main
maui-check --ci --non-interactive --fix --skip androidsdk --skip xcode --skip vswin --skip vsmac
displayName: maui-check
- bash: sudo xcode-select -s /Applications/Xcode_12.4.app
Expand Down

0 comments on commit f2c13a8

Please sign in to comment.