From 101d6d3eac14280116fa48011c00810b43b08fc5 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sun, 27 Oct 2024 00:08:36 +0200 Subject: [PATCH] install android workload manually, rather than as part of cake --- .github/workflows/main.yml | 2 ++ build.cake | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 40edd35..bc06cb4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,6 +18,8 @@ jobs: distribution: 'temurin' - name: Setup Android SDK uses: android-actions/setup-android@v3 + - name: Install Android workload + run: dotnet workload install android - name: Restore tools run: dotnet tool restore - name: Run Build diff --git a/build.cake b/build.cake index 7ec17b8..f703128 100644 --- a/build.cake +++ b/build.cake @@ -10,8 +10,6 @@ var config = Argument("configuration", "Release"); var serve = HasArgument("serve"); Task("Prepare").Does(() => { - DotNetWorkloadInstall("android"); - DotNetRestore("MLEM.sln"); DotNetRestore("MLEM.FNA.sln"); DotNetRestore("MLEM.KNI.sln");