File tree 2 files changed +28
-1
lines changed
2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Java CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ permissions : read-all
10
+ jobs :
11
+ build-linux :
12
+ name : build-linux
13
+
14
+ runs-on : ubuntu-latest
15
+
16
+ steps :
17
+ - uses : actions/checkout@v3
18
+ with :
19
+ fetch-depth : 0
20
+ - name : Set up JDK 11
21
+ uses : actions/setup-java@v3
22
+ with :
23
+ distribution : ' temurin'
24
+ java-version : ' 11'
25
+ cache : ' gradle'
26
+ - name : Build with Gradle
27
+ run : chmod +x gradlew && ./gradlew build -x checkstyleMain
Original file line number Diff line number Diff line change 1
- # [LeetCode](https://leetcode.com/problemset/algorithms/) [](LICENSE.md) [](https://travis-ci.org /fishercoder1534/Leetcode) 
1
+ # [LeetCode](https://leetcode.com/problemset/algorithms/) [](LICENSE.md) [](https://github.com /fishercoder1534/Leetcode/actions/workflows/gradle.yml ) 
2
2
3
3
_If you like this project, please leave me a star._ ★
4
4
You can’t perform that action at this time.
0 commit comments