Skip to content

Commit c1156d2

Browse files
committed
discard build image & use action to setup java
1 parent e6f5ed7 commit c1156d2

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,17 @@ permissions:
1313
jobs:
1414
build:
1515
runs-on: ubuntu-latest
16-
container:
17-
image: gradle:jdk23-corretto
1816
steps:
1917
- name: Checkout code
2018
uses: actions/checkout@v4
2119

20+
- name: Prepare environment
21+
uses: actions/setup-java@v4
22+
with:
23+
java-version: 17
24+
cache: 'gradle'
25+
distribution: 'temurin'
26+
2227
# required since test report action uses git
2328
- name: Configure Git Safe Directory
2429
run: |

0 commit comments

Comments
 (0)