From 0be6b23d5838d4375744702e4242e34a9496f115 Mon Sep 17 00:00:00 2001 From: Albie Date: Fri, 13 Jan 2023 13:29:08 +0000 Subject: [PATCH] move android workload to explicit opt-in --- .github/workflows/codequality.yaml | 4 +--- .github/workflows/publish.yaml | 6 +++--- src/DragonFruit.Data.csproj | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/codequality.yaml b/.github/workflows/codequality.yaml index 6fa0c2d..475ece9 100644 --- a/.github/workflows/codequality.yaml +++ b/.github/workflows/codequality.yaml @@ -29,9 +29,7 @@ jobs: dotnet-version: "6.0.x" - name: Restore Tools - run: | - sudo dotnet workload restore - dotnet tool restore + run: dotnet tool restore - name: Restore Packages run: dotnet restore diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index c364794..e170c67 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -23,14 +23,14 @@ jobs: dotnet restore - name: Build - run: dotnet build -c Release -v normal -p:Version=${{ github.ref_name }} + run: dotnet build -c Release -v normal -p:EnableAndroid=true -p:Version=${{ github.ref_name }} - name: Pack (Beta) - run: dotnet pack -c Release --include-symbols --no-build -v normal -o . -p:PackageVersion=${{ github.ref_name }}-beta + run: dotnet pack -c Release --include-symbols --no-build -v normal -o . -p:EnableAndroid=true -p:PackageVersion=${{ github.ref_name }}-beta if: "github.event.release.prerelease" - name: Pack (Stable) - run: dotnet pack -c Release --include-symbols --no-build -v normal -o . -p:PackageVersion=${{ github.ref_name }} + run: dotnet pack -c Release --include-symbols --no-build -v normal -o . -p:EnableAndroid=true -p:PackageVersion=${{ github.ref_name }} if: "!github.event.release.prerelease" - name: Publish diff --git a/src/DragonFruit.Data.csproj b/src/DragonFruit.Data.csproj index 6d39616..97ddb22 100644 --- a/src/DragonFruit.Data.csproj +++ b/src/DragonFruit.Data.csproj @@ -3,7 +3,7 @@ - $(TargetFrameworks);net6.0-android + $(TargetFrameworks);net6.0-android DragonFruit.Data A web requests framework for .NET that powers the DragonFruit APIs