Skip to content

Commit

Permalink
build: bump gradle/actions from 3 to 4
Browse files Browse the repository at this point in the history
Closes #26
  • Loading branch information
TheMrMilchmann committed Aug 7, 2024
1 parent c1da869 commit 2588ed4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 24 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@v3

- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: ${{ env.JDK_VERSION }}

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
uses: gradle/actions/setup-gradle@v4

- name: Gradle Assemble
run: ./gradlew assemble --info -S --show-version
Expand Down Expand Up @@ -72,9 +67,7 @@ jobs:
java-version: ${{ env.JDK_VERSION }}

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
uses: gradle/actions/setup-gradle@v4

- name: Gradle Check
run: ./gradlew check --info -S --show-version -Ptoolchain.functionalTest.version=${{ matrix.jdk }}
Expand Down
19 changes: 4 additions & 15 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@v3

- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: ${{ env.JDK_VERSION }}

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
uses: gradle/actions/setup-gradle@v4

- name: Gradle Assemble
run: ./gradlew assemble --info -S --show-version
Expand Down Expand Up @@ -76,9 +71,7 @@ jobs:
java-version: ${{ env.JDK_VERSION }}

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
uses: gradle/actions/setup-gradle@v4

- name: Gradle Check
run: ./gradlew check --info -S --show-version -Ptoolchain.functionalTest.version=${{ matrix.jdk }}
Expand Down Expand Up @@ -126,9 +119,7 @@ jobs:
java-version: ${{ env.JDK_VERSION }}

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
uses: gradle/actions/setup-gradle@v4

- name: Gradle Publish
env:
Expand Down Expand Up @@ -180,9 +171,7 @@ jobs:
java-version: ${{ env.JDK_VERSION }}

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
uses: gradle/actions/setup-gradle@v4

# https://github.com/gradle/gradle/issues/1246
- name: Install Gradle Plugin Portal credentials
Expand Down

0 comments on commit 2588ed4

Please sign in to comment.