This repository has been archived by the owner on May 6, 2024. It is now read-only.
[net8.0] fix C# compiler error involving x:Name
#90
Workflow file for this run
This file contains 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: Podcast Mobile CI | |
on: | |
push: | |
branches: | |
- main | |
- 'maui/perf' | |
- 'net8.0' | |
pull_request: | |
branches: | |
- main | |
- 'maui/perf' | |
- 'net8.0' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build-mobile: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install .NET | |
shell: pwsh | |
run: | | |
$ProgressPreference = 'SilentlyContinue' | |
Invoke-WebRequest https://dot.net/v1/dotnet-install.ps1 -OutFile dotnet-install.ps1 | |
.\dotnet-install.ps1 -Channel 8.0 -Quality daily -InstallDir . | |
- name: install MAUI workload | |
shell: pwsh | |
run: | | |
$ProgressPreference = 'SilentlyContinue' | |
Invoke-WebRequest https://raw.githubusercontent.com/dotnet/maui/net8.0/NuGet.config -OutFile maui-main-NuGet.config | |
& .\dotnet workload install maui --from-rollback-file https://aka.ms/dotnet/maui/net8.0.json --configfile maui-main-NuGet.config | |
- name: build Microsoft.NetConf2021.Maui.csproj | |
shell: pwsh | |
run: | | |
& .\dotnet build src/Mobile/Microsoft.NetConf2021.Maui.csproj -bl:mobile.binlog | |
- name: archive logs | |
if: always() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: logs | |
path: '*.binlog' |