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 #31
  • Loading branch information
TheMrMilchmann committed Dec 28, 2024
1 parent 64a7966 commit d8314e6
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 @@ -21,19 +21,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 @@ -98,9 +93,7 @@ jobs:
${{ 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 @@ -22,19 +22,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 @@ -99,9 +94,7 @@ jobs:
${{ 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
shell: bash
Expand Down Expand Up @@ -152,9 +145,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 @@ -208,9 +199,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 d8314e6

Please sign in to comment.