microcharts-dotnet / Microcharts

Create cross-platform (Xamarin, Windows, ...) simple charts.
MIT License
2.03k stars 360 forks source link

[Bug] Publish Nuget Packages (Windows) pipeline fails due to Android 29 not being installed. #359

Open RobertWildgoose opened 6 months ago

RobertWildgoose commented 6 months ago

Describe the bug Publish Nuget Packages (Windows) pipeline fails to build anything after Microcharts.Android as this task fails due to not having Android 29 installed along with JDK as well.

Which platform and version is this for? This is specific to the Publish Nuget Packages (Windows) pipeline, but is preventing a new Nuget release being created.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://github.com/microcharts-dotnet/Microcharts/actions/runs/8915704079
  2. Click on 'Build and Pack Microcharts Android'
  3. See error

Expected behavior This step should complete allowing nuget deploy to still occur.

Screenshots If applicable, add screenshots to help explain your problem.

Device N/A

Additional information It looks like an additional step is needs to be added before the Build and pack Microcharts Android in order to installed Android SDK before building.

I've forked the repo and tested the yaml on my forked repo without pushing up to Nuget at the end, See passed Pipeline

Preparing a PR to review when you have time :)