Skip to content

Commit 7ca7a08

Browse files
authored
Update gradle.yml (#14)
1 parent 78e5d1e commit 7ca7a08

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,19 @@ on:
66
# pull_request:
77
# branches: ["main"]
88
workflow_dispatch:
9-
109
jobs:
1110
build:
1211
runs-on: ubuntu-latest
1312

1413
steps:
1514
- uses: actions/checkout@v4
1615

17-
- name: Set up JDK 17 (Temurin as fallback)
16+
- name: Set up JDK
1817
uses: actions/setup-java@v4
1918
with:
2019
distribution: 'temurin'
2120
java-version: '17'
2221

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
35-
3622
- name: Grant execute permission for gradlew
3723
run: chmod +x gradlew
3824

0 commit comments

Comments
 (0)