File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed
Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,24 @@ jobs:
1414 steps :
1515 - uses : actions/checkout@v4
1616
17- - name : Set up JetBrains Runtime (JBR )
18- uses : DeLaGuardo /setup-jbr@v1
17+ - name : Set up JDK 17 (Temurin as fallback )
18+ uses : actions /setup-java@v4
1919 with :
20- jbr-version : ' 17'
20+ distribution : ' temurin'
21+ java-version : ' 17'
22+
23+ - name : Download and Install JetBrains Runtime (JBR)
24+ run : |
25+ JBR_VERSION="17.0.12-b527.4"
26+ JBR_URL="https://cache-redirector.jetbrains.com/intellij-jbr/jbr-${JBR_VERSION}-linux-x64-b527.4.tar.gz"
27+ JBR_PATH="$HOME/jbr"
28+
29+ wget -O jbr.tar.gz ${JBR_URL}
30+
31+ mkdir -p ${JBR_PATH}
32+ tar -xzf jbr.tar.gz -C ${JBR_PATH} --strip-components=1
33+
34+ echo "${JBR_PATH}/bin" >> $GITHUB_PATH
2135
2236 - name : Grant execute permission for gradlew
2337 run : chmod +x gradlew
You can’t perform that action at this time.
0 commit comments