File tree 1 file changed +14
-4
lines changed
1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,20 @@ jobs:
13
13
runs-on : ubuntu-latest
14
14
environment : deploy
15
15
steps :
16
- - uses : actions/checkout@v2
17
- - uses : gradle/wrapper-validation-action@v1
18
- - uses : actions/setup-java@v1
16
+ - name : Fetch Sources
17
+ uses : actions/checkout@v4
19
18
with :
20
- java-version : 11
19
+ fetch-depth : 0
20
+
21
+ - name : Validate Gradle Wrapper
22
+ uses : gradle/actions/wrapper-validation@v3
23
+
24
+ - name : Setup Java
25
+ uses : actions/setup-java@v4
26
+ with :
27
+ distribution : zulu
28
+ java-version : 21
29
+
21
30
- name : Deploy artifacts
22
31
env :
23
32
ORG_GRADLE_PROJECT_repositoryUsername : ${{ secrets.OSSRH_USERNAME }}
27
36
run : |
28
37
cat libpng_version | xargs ./download_libpng_and_apply_apng_patch.sh
29
38
./gradlew publish
39
+
30
40
- name : Release to Maven Central
31
41
if : ${{ github.event.inputs.cond_release == 'release' }}
32
42
env :
You can’t perform that action at this time.
0 commit comments