Skip to content

Commit

Permalink
Install workloads in test too
Browse files Browse the repository at this point in the history
  • Loading branch information
Perksey committed Dec 28, 2024
1 parent ceca47d commit 186f907
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
dotnet-version: '9.0.x'
dotnet-quality: 'preview'
- name: Install Workloads
run: dotnet workload install android macos ios maccatalyst maui tvos
run: dotnet workload restore
- name: Pack
# TODO decide whether we want experimental builds to use Debug or Release - using Release for now...
run: >-
Expand Down Expand Up @@ -72,6 +72,8 @@ jobs:
with:
dotnet-version: '8.0.x'
dotnet-quality: 'preview'
- name: Install Workloads
run: dotnet workload restore
- name: Restore
run: dotnet restore --runtime ${{ matrix.rid }}
- name: Test
Expand Down

0 comments on commit 186f907

Please sign in to comment.