Skip to content

Commit 8ad4c75

Browse files
committed
Testing jitpack/coursier java version issue
1 parent 9906baa commit 8ad4c75

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

jitpack.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
before_install:
2+
- curl -fLo cs https://git.io/coursier-cli-linux
3+
- chmod +x cs
4+
- ./cs java --jvm temurin:1.21
25
- export JITPACK_VERSION=$VERSION
36
- wget https://repo1.maven.org/maven2/org/scala-sbt/sbt-launch/1.10.6/sbt-launch-1.10.6.jar
4-
jdk:
5-
- openjdk21
67
install:
8+
- eval $(./cs java --jvm temurin:1.21 --env)
79
- java -Xms2048m -Xmx2048m -XX:ReservedCodeCacheSize=512m -jar sbt-launch-1.10.6.jar -Dsbt.log.noformat=true clean publishM2

0 commit comments

Comments
 (0)