Change the name of some tasks, remove unnecessary condition
parent
4ba049f5d0
commit
ddc14e59fc
|
@ -24,27 +24,26 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: install .NET 6
|
||||
- name: Install .NET 6
|
||||
shell: pwsh
|
||||
run: |
|
||||
$ProgressPreference = 'SilentlyContinue'
|
||||
Invoke-WebRequest https://dot.net/v1/dotnet-install.ps1 -OutFile dotnet-install.ps1
|
||||
.\dotnet-install.ps1 -Channel 6.0.3xx -Quality daily -InstallDir .
|
||||
|
||||
- name: install MAUI workload
|
||||
- name: Install MAUI workload
|
||||
shell: pwsh
|
||||
run: |
|
||||
$ProgressPreference = 'SilentlyContinue'
|
||||
Invoke-WebRequest https://raw.githubusercontent.com/dotnet/maui/main/NuGet.config -OutFile maui-main-NuGet.config
|
||||
& .\dotnet workload install maui --from-rollback-file https://aka.ms/dotnet/maui/main.json --configfile maui-main-NuGet.config
|
||||
|
||||
- name: build Microsoft.NetConf2021.Maui.csproj
|
||||
- name: Build MAUI Mobile app
|
||||
shell: pwsh
|
||||
run: |
|
||||
& .\dotnet build src/Mobile/Microsoft.NetConf2021.Maui.csproj -bl:mobile.binlog
|
||||
|
||||
- name: archive logs
|
||||
if: always()
|
||||
- name: Archive build log
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: logs
|
||||
|
|
Loading…
Reference in New Issue