Skip to content

Commit 87e377c

Browse files
Workaround for workload restore issue
1 parent c6a0a97 commit 87e377c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ jobs:
5858
restore-keys: ${{ runner.os }}-nuget+workloads3
5959

6060
- name: Restore .NET Workloads
61-
run: dotnet workload restore
61+
run: dotnet workload restore samples/Sentry.Samples.Maui/Sentry.Samples.Maui.csproj
62+
# run: dotnet workload restore # TODO: Use this after .NET SDK 6.0.4xx is released. See: https://github.com/dotnet/sdk/issues/25592
6263

6364
- name: Build
6465
run: dotnet build -c Release /p:CopyLocalLockFileAssemblies=true

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ jobs:
3636
restore-keys: ${{ runner.os }}-nuget
3737

3838
- name: Restore .NET Workloads
39-
run: dotnet workload restore
39+
run: dotnet workload restore samples/Sentry.Samples.Maui/Sentry.Samples.Maui.csproj
40+
# run: dotnet workload restore # TODO: Use this after .NET SDK 6.0.4xx is released. See: https://github.com/dotnet/sdk/issues/25592
4041

4142
# Initializes the CodeQL tools for scanning.
4243
- name: Initialize CodeQL

0 commit comments

Comments
 (0)