oracle-actions / setup-java

GitHub Action to download and install Oracle's Java Development Kit builds
Universal Permissive License v1.0
62 stars 11 forks source link

Temporary failure with invalid `java-version` value #39

Closed scordio closed 2 years ago

scordio commented 2 years ago

Hi team, we experienced a build failure during JDK 18 installation:

Error: The string '-457401206' is not valid SemVer notation for a Java version. Please check README file for code snippets and more detailed information

It seems that the underlying actions/setup-java was invoked with the following parameters:

Run actions/setup-java@v3
  with:
    java-version: -457401206
    distribution: jdkfile
    jdkFile: /home/runner/.oracle-actions/setup-java/e4bc9c8a/openjdk-18.0.2_linux-x64_bin.tar.gz
    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

However, the same job executed again was successful.

sormuras commented 2 years ago

Thanks for creating this issue, Stefano.

37 was the underlying (and already fixed) issue. A similar sighting (with a successful re-run) was at https://github.com/junit-team/junit5/runs/7724542164

If the problem pops up again, feel free to reopen this issue.