Commit bab7c21 1 parent 7fe1830 commit bab7c21 Copy full SHA for bab7c21
File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,21 @@ jobs:
34
34
- name : Setup Gradle
35
35
uses : gradle/gradle-build-action@v2
36
36
37
+ - uses : actions/cache@v4
38
+ with :
39
+ path : |
40
+ .gradle/loom-cache
41
+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/libs.versions.*', '**/*.gradle*', '**/gradle-wrapper.properties') }}
42
+ restore-keys : ${{ runner.os }}-gradle-${{ matrix.java }}-
43
+
37
44
- name : Execute Gradle build
38
45
env :
39
46
STORAGE_TYPE : ${{ matrix.storageType }}
40
47
run : ./gradlew build --info
41
48
42
49
- name : Publish to Maven Central
43
50
# only publish once
44
- if : github.ref == 'refs/heads/master' && matrix.java == '8 ' && matrix.storageType == 'h2 '
51
+ if : github.ref == 'refs/heads/master' && matrix.java == '21 ' && matrix.storageType == 'mariadb '
45
52
env :
46
53
ORG_GRADLE_PROJECT_sonatypeUsername : ${{ secrets.ORG_GRADLE_PROJECT_SONATYPEUSERNAME }}
47
54
ORG_GRADLE_PROJECT_sonatypePassword : ${{ secrets.ORG_GRADLE_PROJECT_SONATYPEPASSWORD }}
You can’t perform that action at this time.
0 commit comments