File tree 1 file changed +0
-15
lines changed
1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change 1
- # This workflow uses actions that are not certified by GitHub.
2
- # They are provided by a third-party and are governed by
3
- # separate terms of service, privacy policy, and support
4
- # documentation.
5
- # This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
6
- # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
7
-
8
1
name : Java CI with Gradle
9
2
10
3
on :
13
6
workflow_dispatch :
14
7
jobs :
15
8
build :
16
-
17
9
runs-on : ubuntu-latest
18
- permissions :
19
- contents : read
20
-
21
10
steps :
22
11
- uses : actions/checkout@v4
23
12
- name : Set up JDK 21
24
13
uses : actions/setup-java@v4
25
14
with :
26
15
java-version : ' 21'
27
16
distribution : ' temurin'
28
-
29
- # Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
30
- # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
31
17
- name : Setup Gradle
32
18
uses : gradle/actions/setup-gradle@v4
33
-
34
19
- name : Build with Gradle Wrapper
35
20
run : ./generator/gradlew validate
You can’t perform that action at this time.
0 commit comments