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 to cache native-image? #70

Open
seepine opened this issue Dec 3, 2023 · 2 comments
Open

How to cache native-image? #70

seepine opened this issue Dec 3, 2023 · 2 comments

Comments

@seepine
Copy link

seepine commented Dec 3, 2023

image

I use in my hosts act runner, and it took time too much.

      - name: Setup Graalvm
        uses: graalvm/setup-graalvm@v1
        with:
          java-version: '17'
          version: '22.3.2'
          components: 'native-image'
          cache: 'gradle'
@fniephaus
Copy link
Member

The GraalVM installation should only be downloaded once per version on self-hosted runners. Could you please share the relevant bits of a build log so that we can understand better what's going on on your machine? You can also restart build with debugging enabled, which may provide more useful info.

@fniephaus
Copy link
Member

Oh, I didn't see the screenshot. Maybe rerun with debugging enabled or try upgrading to GraalVM for JDK 17, which has Native Image included (so you no longer need the "components: 'native-image'" line).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants