From 186f9079270c7481a62a6076d2f0ba9a63e7f1ef Mon Sep 17 00:00:00 2001 From: Dylan Perks Date: Sat, 28 Dec 2024 17:30:37 +0000 Subject: [PATCH] Install workloads in test too --- .github/workflows/dotnet.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index e8a164277e..2328aa0ac0 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -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: >- @@ -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