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 #51
  • Loading branch information
TheMrMilchmann committed Sep 3, 2024
1 parent 60e3941 commit e2a2cbf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 21 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,14 @@ jobs:
- name: Checkout
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 @@ -105,9 +100,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.test.version=${{ matrix.jdk }}
Expand Down
15 changes: 3 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,14 @@ jobs:
- name: Checkout
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 @@ -78,9 +73,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
Expand Down Expand Up @@ -210,9 +203,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

0 comments on commit e2a2cbf

Please sign in to comment.