nowinandroid icon indicating copy to clipboard operation
nowinandroid copied to clipboard

Publishing CI builds to scans.gradle.com

Open cdsap opened this issue 10 months ago • 1 comments

Given that the GHA workflows currently use the setup action and publish the summary in the jobs: Screenshot 2025-01-14 at 2 43 03 PM Workflows could enable the publication of build scans to scans.gradle.com.

cdsap avatar Jan 14 '25 22:01 cdsap

  • https://github.com/android/nowinandroid/pull/413

SimonMarquis avatar Jan 15 '25 05:01 SimonMarquis

This issue is now fixed and can be closed 🎉

@cdsap any reason to set it up on the setup-gradle action in the worklows vs what was done in #413? I feel like it would reduce duplicated code and prevent forgetting it when adding/changing jobs in GHA.

@dturner in the case that we keep it this way (enabled on the workflow files) would you accept a contribution to reduce boilerplate/duplication and extract common parameters into a local composite action like this?

SimonMarquis avatar Jul 30 '25 17:07 SimonMarquis

Hi @SimonMarquis , that’s a good question. I don’t have a strong preference here. When I created the PR, I targeted the GHA because we rely on the auto-injection capability of the action. That said, I’m open to your suggestions.

cdsap avatar Jul 31 '25 00:07 cdsap