Skip to content

Commit 198575b

Browse files
Update the CI build to follow the patterns used in other repos
1 parent afa7db4 commit 198575b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@ jobs:
3838
java-version: 11
3939
jdkFile: ${{ steps.download-java.outputs.jdkFile }}
4040

41+
- name: Setup Gradle
42+
uses: gradle/actions/setup-gradle@0bdd871935719febd78681f197cd39af5b6e16a6 # v4
43+
4144
- name: Build & Test
42-
uses: gradle/gradle-build-action@8baac4c8ef753599f92eeb509c246d09d6250fa6 # v3
43-
with:
44-
arguments: build --info
45+
run: ./gradlew build --info
4546

4647
- name: Publish Test Results
4748
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
@@ -52,6 +53,4 @@ jobs:
5253

5354
- name: Publish To Sonatype
5455
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
55-
uses: gradle/gradle-build-action@8baac4c8ef753599f92eeb509c246d09d6250fa6 # v3
56-
with:
57-
arguments: publishAllPublicationsToMavenCentral
56+
run: ./gradlew publishAllPublicationsToMavenCentral

0 commit comments

Comments
 (0)