Skip to content

Commit 2386d27

Browse files
committed
Update github workflows
1 parent 4046716 commit 2386d27

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ jobs:
5353
with:
5454
distribution: 'adopt'
5555
java-version: 11
56+
- name: Setup Gradle
57+
uses: gradle/actions/setup-gradle@v4
5658
- name: Generate secring file
5759
env:
5860
SECRING_FILE: ${{ secrets.SECRING_FILE }}
5961
run: echo $SECRING_FILE | base64 -d > ${{ github.workspace }}/secring.gpg
60-
- name: Setup Gradle
61-
uses: gradle/actions/setup-gradle@v4
6262
- name: Publish to Sonatype OSSRH
6363
id: publish
6464
env:

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
with:
4343
distribution: 'adopt'
4444
java-version: ${{ matrix.java }}
45+
- name: Setup Gradle
46+
uses: gradle/actions/setup-gradle@v4
4547
- name: Extract Target Branch
4648
id: extract_branch
4749
run: |
@@ -68,8 +70,6 @@ jobs:
6870
env:
6971
SECRING_FILE: ${{ secrets.SECRING_FILE }}
7072
run: echo $SECRING_FILE | base64 -d > ${{ github.workspace }}/secring.gpg
71-
- name: Setup Gradle
72-
uses: gradle/actions/setup-gradle@v4
7373
- name: Publish to Sonatype OSSRH
7474
id: publish
7575
if: steps.secring.outcome == 'success'

0 commit comments

Comments
 (0)