File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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://help.github.com/actions/language-and-framework-guides/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+ jobs :
17+ build :
18+
19+ runs-on : ubuntu-latest
20+
21+ steps :
22+ - uses : actions/checkout@v2
23+ - name : Set up JDK 16
24+ uses : actions/setup-java@v2
25+ with :
26+ java-version : ' 16'
27+ distribution : ' adopt'
28+ - name : Build with Gradle
29+ uses : gradle/gradle-build-action@4137be6a8bf7d7133955359dbd952c0ca73b1021
30+ with :
31+ arguments : build
You can’t perform that action at this time.
0 commit comments