Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you download a specific EA build? #85

Closed
fbricon opened this issue Jul 10, 2024 · 5 comments
Closed

How do you download a specific EA build? #85

fbricon opened this issue Jul 10, 2024 · 5 comments

Comments

@fbricon
Copy link

fbricon commented Jul 10, 2024

If you do the following:

      - name: Set Up Java
        uses: oracle-actions/setup-java@v1
        with:
          website: jdk.java.net
          release: EA

Then the latest JDK 24 EA build will be downloaded. But I want to use 23 EA. Adding version: 23 doesn't work.

@delabassee
Copy link
Contributor

@fbricon What is your use case to use a specific version of an "older" EA build?

@fbricon
Copy link
Author

fbricon commented Jul 10, 2024

I'm trying to test my build against Java 23. It's not released yet.

@sormuras
Copy link
Member

See

for a more stable variant of an EA build:

      - name: 'Set up stable EA JDK'
        uses: oracle-actions/setup-java@v1
        with:
          website: jdk.java.net
          release: ea
          version: stable

Does this help?

@sormuras
Copy link
Member

Adding version: 23 doesn't work.

Setting release: 23 works for the entire cycle of JDK 23 builds, no matter what phase it is in.

@fbricon
Copy link
Author

fbricon commented Jul 15, 2024

OK this worked for me, thanks!

  - name: Set Up Java
    uses: oracle-actions/setup-java@v1
    with:
      website: jdk.java.net
      release: 23

@fbricon fbricon closed this as completed Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants