jitpack.io icon indicating copy to clipboard operation
jitpack.io copied to clipboard

SDKMan! JDKs installation (curl certificates) in MJaroslav/Shared-Java build

Open MJaroslav opened this issue 1 year ago • 2 comments

Describe the bug SDKMan! JDKs installations doesn't work because it fails with: curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none More details here: http://curl.haxx.se/docs/sslcerts.html

Build log of my (Shared-Java) project: https://jitpack.io/com/github/MJaroslav/Shared-Java/1.0.0/build.log

To Reproduce Just try build project with jitpack.yml where SDKMan! is used, for example i get this on my project Shared-Java (installation of specified in yml JDKs works locally).

Expected behavior Normally installation of JDKs.

Additional context In additional, jitpack.yml ignored on JitCI (also sdk command can't be called in JitCI scripts).

MJaroslav avatar Feb 02 '24 07:02 MJaroslav

I noticed that the build works for version v1.0.0 but not for version 1.0.0, but they are the same commits and tags.

MJaroslav avatar Feb 05 '24 10:02 MJaroslav

As temporary solution of it, you can add sdkman_insecure_ssl=true command in before_install block of jitpack.yml (example).

MJaroslav avatar Feb 15 '24 16:02 MJaroslav

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Mar 17 '24 01:03 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Mar 31 '24 01:03 github-actions[bot]