File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
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
+ name : Gradle Build
9
+
10
+ on :
11
+ push :
12
+ branches : [ "main" ]
13
+ pull_request :
14
+ branches : [ "main" ]
15
+
16
+ permissions :
17
+ contents : read
18
+
19
+ jobs :
20
+ build :
21
+
22
+ runs-on : ubuntu-latest
23
+
24
+ steps :
25
+ - uses : actions/checkout@v3
26
+ - name : Set up JDK 8
27
+ uses : actions/setup-java@v3
28
+ with :
29
+ java-version : ' 8'
30
+ distribution : ' temurin'
31
+ server-id : github # Value of the distributionManagement/repository/id field of the pom.xml
32
+ settings-path : ${{ github.workspace }} # location for the settings.xml file
33
+
34
+ - name : Build with Gradle
35
+ uses : gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
36
+ with :
37
+ arguments : build
You can’t perform that action at this time.
0 commit comments