xamarin / AndroidX

AndroidX bindings for .NET for Android
MIT License
173 stars 42 forks source link

manual updates 20231019 - Cake.Tool 3.2.0-alpha0025 setup #802

Closed moljac closed 8 months ago

moljac commented 8 months ago

Does this change any of the generated binding API's?

No. Infrastructure.

While waiting for release of Cake 3.2.0, let's use Cake.Tool preview

https://github.com/cake-build/cake/pull/4206 https://github.com/cake-build/cake/pull/4206#issuecomment-1742215387 https://dev.azure.com/cake-build/Cake/_artifacts/feed/cake/NuGet/Cake.Tool/overview/3.2.0-alpha0025

Describe your contribution

Changed template to install Cake.Tool preview.

Added something like this:

dotnet tool uninstall --global Cake.Tool
dotnet tool install --global \
    Cake.Tool \
    --add-source https://pkgs.dev.azure.com/cake-build/Cake/_packaging/cake/nuget/v3/index.json \
    -version 3.2.0-alpha0025
moljac commented 8 months ago

Resulting CI log

Starting: PowerShell
==============================================================================
Task         : PowerShell
Description  : Run a PowerShell script on Linux, macOS, or Windows
Version      : 2.229.4
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
==============================================================================
Generating script.
========================== Starting Command Output ===========================
/usr/local/bin/pwsh -NoLogo -NoProfile -NonInteractive -Command . '/Users/runner/work/_temp/899fd800-bf2f-49b5-adb6-1e646b565c24.ps1'
Tool 'cake.tool' (version '3.1.0') was successfully uninstalled.
You can invoke the tool using the following command: dotnet-cake
Tool 'cake.tool' (version '3.2.0-alpha0025') was successfully installed.
Finishing: PowerShell
jpobst commented 8 months ago

👍 Seems like a good temporary solution.