File tree 2 files changed +23
-5
lines changed
2 files changed +23
-5
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will build a Java project with Gradle
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3
+
4
+ name : Build
5
+
6
+ on : [push]
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+ environment : prod
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - name : Set up JDK 8
15
+ uses : actions/setup-java@v2
16
+ with :
17
+ java-version : ' 8'
18
+ distribution : ' adopt'
19
+ - name : Grant execute permission for gradlew
20
+ run : chmod +x gradlew
21
+ - name : Build with Gradle
22
+ run : ./gradlew build
Original file line number Diff line number Diff line change 1
1
# This workflow will build a Java project with Gradle
2
2
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3
3
4
- name : Java CI with Gradle
4
+ name : Publish
5
5
6
6
on :
7
7
push :
8
8
branches : [ master ]
9
9
paths :
10
10
- ' src/**'
11
- pull_request :
12
- branches : [ master ]
13
- paths :
14
- - ' src/**'
15
11
16
12
jobs :
17
13
publish :
You can’t perform that action at this time.
0 commit comments