Skip to content

Commit

Permalink
ci: bump gradle/actions/setup-gradle from 3 to 4
Browse files Browse the repository at this point in the history
  • Loading branch information
gotson committed Aug 22, 2024
1 parent cad1f58 commit aed21f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 28 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,13 @@ jobs:
with:
distribution: 'temurin'
java-version: '22'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Gradle build
uses: gradle/actions/setup-gradle@v3
run: ./gradlew build
env:
LD_LIBRARY_PATH: /home/linuxbrew/.linuxbrew/lib
JAVA_LIBRARY_PATH: /usr/local/opt/libarchive/lib
with:
arguments: build
gradle-home-cache-includes: |
caches
notifications
jdks
- name: Upload Unit Test Reports
if: always()
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -120,28 +115,26 @@ jobs:
with:
distribution: 'temurin'
java-version: '22'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Nexus publish
uses: gradle/actions/setup-gradle@v3
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
env:
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_PASSPHRASE }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.MAVENCENTRAL_USER }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.MAVENCENTRAL_PASSWORD }}
with:
arguments: publishToSonatype closeAndReleaseSonatypeStagingRepository
- name: Release commit and push
uses: EndBug/add-and-commit@v9
if: inputs.perform_release
with:
message: 'chore(release): ${{ needs.version.outputs.version_next }} [skip ci]'
default_author: github_actions
- name: JReleaser full release
uses: gradle/actions/setup-gradle@v3
run: ./gradlew jreleaserFullRelease
if: inputs.perform_release
env:
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
arguments: jreleaserFullRelease
- name: JReleaser Release output
if: always() && inputs.perform_release
uses: actions/upload-artifact@v4
Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/gradle-wrapper-validation.yml

This file was deleted.

0 comments on commit aed21f1

Please sign in to comment.