Skip to content

Is v3 officially released? #295

@artamonovkirill

Description

@artamonovkirill

Description:
I got a PR from Renovate bot bumping the setup-java action to v3.

Task version:
v3:

     - uses: actions/setup-java@v3
        with:
          java-version: 17
          distribution: adopt
          cache: gradle

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Repro steps:
https://github.com/artamonovkirill/ninshubur/pull/189

Expected behavior:
CI step succeeds

Actual behavior:
CI steps fails due to out-of-range error:

Run actions/setup-java@v3
  with:
    java-version: 17
    distribution: adopt
    cache: gradle
    java-package: jdk
    architecture: x64
    check-latest: false
    server-id: github
    server-username: GITHUB_ACTOR
    server-password: GITHUB_TOKEN
    overwrite-settings: true
    job-status: success
Trying to resolve the latest version from remote
Resolved latest version as 17.0.[2](https://github.com/artamonovkirill/ninshubur/runs/5359803125?check_suite_focus=true#step:6:2)+8
Trying to download...
Downloading Java 17.0.2+8 (Adopt-Hotspot) from https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.2%2B8/OpenJDK17U-jdk_x64_linux_hotspot_17.0.2_8.tar.gz ...
Extracting Java archive...
/usr/bin/tar xz --warning=no-unknown-keyword -C /home/runner/work/_temp/db9051e8-02a1-4d70-a166-91e[3](https://github.com/artamonovkirill/ninshubur/runs/5359803125?check_suite_focus=true#step:6:3)325db[4](https://github.com/artamonovkirill/ninshubur/runs/5359803125?check_suite_focus=true#step:6:4)[5](https://github.com/artamonovkirill/ninshubur/runs/5359803125?check_suite_focus=true#step:6:5)0 -f /home/runner/work/_temp/03d793fc-d48f-4a35-ba8c-beb8[6](https://github.com/artamonovkirill/ninshubur/runs/5359803125?check_suite_focus=true#step:6:6)95bfd11
Java 1[7](https://github.com/artamonovkirill/ninshubur/runs/5359803125?check_suite_focus=true#step:6:7).0.2+[8](https://github.com/artamonovkirill/ninshubur/runs/5359803125?check_suite_focus=true#step:6:8) was downloaded
Setting Java 17.0.2+8 as the default

Java configuration:
  Distribution: adopt
  Version: 17.0.2+8
  Path: /opt/hostedtoolcache/Java_Adopt_jdk/17.0.2-8/x64

Creating settings.xml with server-id: github
Writing to /home/runner/.m2/settings.xml
Received 58720256 of 2[9](https://github.com/artamonovkirill/ninshubur/runs/5359803125?check_suite_focus=true#step:6:9)35425672 (2.0%), 56.0 MBs/sec
Received 167772160 of 2935425672 (5.7%), 80.0 MBs/sec
Received 327155712 of 2935425672 (11.1%), [10](https://github.com/artamonovkirill/ninshubur/runs/5359803125?check_suite_focus=true#step:6:10)3.7 MBs/sec
Received 528482304 of 2935425672 (18.0%), 125.7 MBs/sec
Received 717225984 of 2935425672 (24.4%), 136.5 MBs/sec
Received 910163968 of 2935425672 (31.0%), 144.4 MBs/sec
Received 1098907648 of 2935425672 (37.4%), 149.4 MBs/sec
Received 1283457024 of 2935425672 (43.7%), 152.7 MBs/sec
Received 1430257664 of 2935425672 (48.7%), 151.3 MBs/sec
Received 1598029824 of 2935425672 (54.4%), 152.2 MBs/sec
Received 1757413376 of 2935425672 (59.9%), 152.2 MBs/sec
Received 1895825408 of 2935425672 (64.6%), 150.5 MBs/sec
Received 2046820352 of 2935425672 (69.7%), 150.0 MBs/sec
Received 2172649472 of 2935425672 (74.0%), 147.8 MBs/sec
Received 2294284288 of 2935425672 (78.2%), 145.7 MBs/sec
Received 2420[11](https://github.com/artamonovkirill/ninshubur/runs/5359803125?check_suite_focus=true#step:6:11)3408 of 2935425672 (82.4%), [14](https://github.com/artamonovkirill/ninshubur/runs/5359803125?check_suite_focus=true#step:6:14)4.1 MBs/sec
Received 2545942528 of 2935425672 (86.7%), 142.7 MBs/sec
Received 2684354560 of 2935425672 (91.4%), 142.1 MBs/sec
Received 2831[15](https://github.com/artamonovkirill/ninshubur/runs/5359803125?check_suite_focus=true#step:6:15)5[20](https://github.com/artamonovkirill/ninshubur/runs/5359803125?check_suite_focus=true#step:6:20)0 of 2935425672 (96.4%), 141.9 MBs/sec
Received 2935425672 of 2935425672 (100.0%), 140.6 MBs/sec
Error: The value of "length" is out of range. It must be >= 0 && <= [21](https://github.com/artamonovkirill/ninshubur/runs/5359803125?check_suite_focus=true#step:6:21)47483647. Received 29354[25](https://github.com/artamonovkirill/ninshubur/runs/5359803125?check_suite_focus=true#step:6:25)672

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions