File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -55,17 +55,10 @@ jobs:
55
55
# We don't use a lockfile, so hash all files where we might be keeping <PackageReference> tags
56
56
# Workloads also get installed in the nuget packages cache, so if you modify workloads below, increment the number in the cache keys
57
57
key : ${{ runner.os }}-nuget+workloads2-${{ hashFiles('**/*.*proj', '**/*.props') }}
58
- restore-keys : ${{ runner.os }}-nuget+workloads2
58
+ restore-keys : ${{ runner.os }}-nuget+workloads3
59
59
60
- - name : Install .NET Workloads (Ubuntu)
61
- if : startsWith(matrix.os, 'ubuntu')
62
- run : dotnet workload install maui-android
63
- - name : Install .NET Workloads (Windows)
64
- if : startsWith(matrix.os, 'windows')
65
- run : dotnet workload install maui-android maui-windows
66
- - name : Install .NET Workloads (macOS)
67
- if : startsWith(matrix.os, 'macos')
68
- run : dotnet workload install maui-android maui-ios maui-maccatalyst
60
+ - name : Restore .NET Workloads
61
+ run : dotnet workload restore
69
62
70
63
- name : Build
71
64
run : dotnet build -c Release /p:CopyLocalLockFileAssemblies=true
Original file line number Diff line number Diff line change 35
35
key : ${{ runner.os }}-nuget-${{ hashFiles('**/*.*proj', '**/*.props') }}
36
36
restore-keys : ${{ runner.os }}-nuget
37
37
38
+ - name : Restore .NET Workloads
39
+ run : dotnet workload restore
40
+
38
41
# Initializes the CodeQL tools for scanning.
39
42
- name : Initialize CodeQL
40
43
uses : github/codeql-action/init@v2
You can’t perform that action at this time.
0 commit comments