Skip to content

Commit

Permalink
Update build-maui-toolkit.yml
Browse files Browse the repository at this point in the history
Defined source(s) for workload install
  • Loading branch information
egvijayanand authored Jun 18, 2022
1 parent 4285537 commit 075be42
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build-maui-toolkit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,21 @@ jobs:

# Install Maui workload
- name: Install Maui workload
run: dotnet workload install maui
run: dotnet workload install maui --from-rollback-file https://aka.ms/dotnet/maui/6.0.300.json --source https://aka.ms/dotnet6/nuget/index.json --source https://api.nuget.org/v3/index.json

# Install WebAssembly workload
- name: Install WebAssembly workload
run: dotnet workload install wasm-tools
run: dotnet workload install wasm-tools --from-rollback-file https://aka.ms/dotnet/maui/6.0.300.json --source https://aka.ms/dotnet6/nuget/index.json --source https://api.nuget.org/v3/index.json

# List installed workload
- name: List installed workloads
run: dotnet workload list

# Restore dependencies
- name: Restore dependencies
run: dotnet restore

# Build the project in Release mode
- name: Build the Solution in Release mode
run: Create-Release-Package.bat
shell: cmd
run: .\Create-Package.bat Release

0 comments on commit 075be42

Please sign in to comment.