diff --git a/.drone.yml b/.drone.yml index eb08caf..5b81c9a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,8 +30,8 @@ steps: commands: - cd src/Banquale/ - dotnet restore Banquale.sln - - dotnet build Banquale.sln -c Release --no-restore - - dotnet publish Banquale.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release + - dotnet build Banquale.sln -c Release --no-restore /p:AndroidSdkDirectory=$ANDROID_SDK_ROOT -property:Aapt2ToolPath=$ANDROID_SDK_ROOT/build-tools/31.0.0 + - dotnet publish Banquale.csproj -c Release --no-restore -o $CI_PROJECT_DIR/build/release -f:net6.0-android /p:AndroidSdkDirectory=/usr/lib/android-sdk - name: tests image: mcr.microsoft.com/dotnet/sdk:6.0