To follow up on this, I found that I also needed to change `java-version: 1.8` to `java-version: 8` when using `distribution: 'adopt'`. 1.8 seems to be working for other distributions.
Gareth On Tue, 6 Apr 2021 at 09:28, Tim Jacomb <[email protected]> wrote: > Hello > > Just a heads up if you're using https://www.jenkins.io/jep/229 for > releasing your plugins automatically, and dependabot you will be getting a > PR to update setup-java to v2. > > This has a breaking change and it won't be tested on CI if you're only > using github actions for release. > > You will need to set the 'distribution' flag now as it's a required input. > > see https://github.com/jenkinsci/.github/pull/49 > > Thanks > Tim > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CAH-3BieYU-WsNvB7Q9Q5-EFVtq6AX%3D3W4xiv3TG-H_Vr-gZAuA%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-dev/CAH-3BieYU-WsNvB7Q9Q5-EFVtq6AX%3D3W4xiv3TG-H_Vr-gZAuA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Gareth Evans Principal Software Engineer CloudBees, Inc. E: gevans <http://goog_922748420>@cloudbees.com <[email protected]> Twitter: @garethbryncyn -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAOHmWa%3D-Sp4Jf7AkQ3VdmW2jnUOoxr2MMk-0jQiWNhZ9pHtuPA%40mail.gmail.com.
