xamarin / AndroidX

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

[ci] Ensure logs and artifacts get published on failed builds. #876

Closed jpobst closed 2 months ago

jpobst commented 2 months ago

After migrating to the 1ES template, when our build fails, no logs or artifacts are retained, making it very hard to diagnose the issue. Add an always condition to the output upload so these will get saved.

Example build demonstrating artifacts are uploaded on failure: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=9440304&view=results