Chris Lee
Chris Lee
Here's a [Kotest run](https://github.com/kotest/kotest/actions/runs/10079839942) that shows the problem. Specifically, this workflow snippet: ``` jobs: validate-api: name: Validate API if: github.repository == 'kotest/kotest' uses: ./.github/workflows/run-gradle.yml secrets: inherit with: runs-on: ubuntu-latest ref:...
Ahh.... This cache key for GUH: `gradle-home-v1|Linux|run-tests[2c202e428a822dfa2e29a4f7ab04d507]-0054608c69772bd253aec319bedc2231983e13f1` contains `run-tests` as the job name - would expect it to change, to be `validate-api` or `validate-primary`. `run-tests` is the job name in...
(this is the issue I _thought_ was a race condition in the initial part of this ticket)
Oh wow, this (getting the full job name) is _way_ more complicated than it should be. There are a couple of open issues on this: * https://github.com/orgs/community/discussions/8945 * https://github.com/actions/runner/issues/2577 Setup...
Good thoughts. Looked at using `input` - it doesn't fully address the issue. Collisions would still occur if the same reusable workflow was invoked more than once with the same...
> Am I right in thinking that the resulting cache entry will unnecessarily be updated, but at least it should contain the same dependencies? What happens on a GUH collision...
Yea, that's where I ran into the brick wall as well, its unclear / imprecise how to match things up :(
@bigdaz > Can you try adding some matrix parameters to your test and see if they are also included in the JSON? I'm currently accessing them [like this](https://github.com/gradle/actions/blob/main/setup-gradle/action.yml#L213-L218), which works...
There appears to be an erroneous assumption that the distribution checksum is only for "official" Gradle distributions; it's merely a configurable value, alongside the also-configurable distribution URL that users can...
@vlsi there was never a suggestion to do anything more for custom distributions other than "not break" them in implementing this. > If you want verify against a custom distribution,...