Skip to content

Commit 47488f0

Browse files
committed
chore: Update MAUI workload installation to use restore command
1 parent 9256639 commit 47488f0

3 files changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,8 @@ jobs:
4343
with:
4444
dotnet-version: ${{ env.DOTNET_VERSION }}
4545

46-
- name: Install MAUI workload
47-
run: dotnet workload install maui
48-
continue-on-error: true
46+
- name: Install MAUI workloads
47+
run: dotnet workload restore
4948

5049
- name: Cache NuGet packages
5150
uses: actions/cache@v5

.github/workflows/codeql.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,8 @@ jobs:
4747
with:
4848
dotnet-version: ${{ env.DOTNET_VERSION }}
4949

50-
- name: Install MAUI workload
51-
run: dotnet workload install maui
52-
continue-on-error: true
50+
- name: Install MAUI workloads
51+
run: dotnet workload restore
5352

5453
- name: Cache NuGet packages
5554
uses: actions/cache@v5

.github/workflows/deploy.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,8 @@ jobs:
6262
with:
6363
dotnet-version: ${{ env.DOTNET_VERSION }}
6464

65-
- name: Install MAUI workload
66-
run: dotnet workload install maui
67-
continue-on-error: true
65+
- name: Install MAUI workloads
66+
run: dotnet workload restore
6867

6968
- name: Cache NuGet packages
7069
uses: actions/cache@v5

0 commit comments

Comments
 (0)