Skip to content

Commit 2f83543

Browse files
Update workloads
1 parent becaa00 commit 2f83543

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ jobs:
5454
path: ~/.nuget/packages
5555
# We don't use a lockfile, so hash all files where we might be keeping <PackageReference> tags
5656
# Workloads also get installed in the nuget packages cache, so if you modify workloads below, increment the number in the cache keys
57-
key: ${{ runner.os }}-nuget+workloads2-${{ hashFiles('**/*.*proj', '**/*.props') }}
58-
restore-keys: ${{ runner.os }}-nuget+workloads2
57+
key: ${{ runner.os }}-nuget+workloads3-${{ hashFiles('**/*.*proj', '**/*.props') }}
58+
restore-keys: ${{ runner.os }}-nuget+workloads3
5959

6060
- name: Install .NET Workloads (Ubuntu)
6161
if: startsWith(matrix.os, 'ubuntu')

.github/workflows/codeql-analysis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,13 @@ jobs:
3131
uses: actions/cache@v3
3232
with:
3333
path: ~/.nuget/packages
34-
## we don't use a lockfile, so hash all files where we might be keeping <PackageReference> tags
35-
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.*proj', '**/*.props') }}
36-
restore-keys: ${{ runner.os }}-nuget
34+
# We don't use a lockfile, so hash all files where we might be keeping <PackageReference> tags
35+
# Workloads also get installed in the nuget packages cache, so if you modify workloads below, increment the number in the cache keys
36+
key: ${{ runner.os }}-nuget+workloads3-${{ hashFiles('**/*.*proj', '**/*.props') }}
37+
restore-keys: ${{ runner.os }}-nuget+workloads3
38+
39+
- name: Install .NET Workloads (Ubuntu)
40+
run: dotnet workload install maui-android
3741

3842
# Initializes the CodeQL tools for scanning.
3943
- name: Initialize CodeQL

0 commit comments

Comments
 (0)