Skip to content

Commit 186f907

Browse files
committed
Install workloads in test too
1 parent ceca47d commit 186f907

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/dotnet.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
dotnet-version: '9.0.x'
2929
dotnet-quality: 'preview'
3030
- name: Install Workloads
31-
run: dotnet workload install android macos ios maccatalyst maui tvos
31+
run: dotnet workload restore
3232
- name: Pack
3333
# TODO decide whether we want experimental builds to use Debug or Release - using Release for now...
3434
run: >-
@@ -72,6 +72,8 @@ jobs:
7272
with:
7373
dotnet-version: '8.0.x'
7474
dotnet-quality: 'preview'
75+
- name: Install Workloads
76+
run: dotnet workload restore
7577
- name: Restore
7678
run: dotnet restore --runtime ${{ matrix.rid }}
7779
- name: Test

0 commit comments

Comments
 (0)