We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a6a6c2 commit 921929fCopy full SHA for 921929f
.github/workflows/gradle.yml
@@ -0,0 +1,27 @@
1
+# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
2
+# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3
+
4
+name: CI with Gradle
5
6
+on:
7
+ push:
8
+ branches: master
9
+ pull_request:
10
11
+jobs:
12
+ build:
13
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - uses: actions/checkout@v2
18
+ - name: Set up JDK 11
19
+ uses: actions/setup-java@v2
20
+ with:
21
+ java-version: '11'
22
+ distribution: 'adopt'
23
+ cache: gradle
24
+ - name: Build
25
+ run: ./gradlew build
26
+ - name: Publish to Maven local with Gradle
27
+ run: ./gradlew publishToMavenLocal
0 commit comments