Skip to content

Commit

Permalink
chore(build): add setup-gradle action
Browse files Browse the repository at this point in the history
Should improve general Gradle pipeline.
  • Loading branch information
SpaiR committed Aug 18, 2024
1 parent 5f9efdc commit 41977e8
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
with:
distribution: liberica
java-version: 11
cache: gradle

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Build
run: ./gradlew buildAll
Expand Down Expand Up @@ -70,7 +72,9 @@ jobs:
with:
distribution: liberica
java-version: 11
cache: gradle

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Install Dependencies (for Windows build)
if: matrix.target.type == 'windows'
Expand Down Expand Up @@ -155,7 +159,9 @@ jobs:
with:
distribution: liberica
java-version: 11
cache: gradle

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Download Artifacts
uses: actions/download-artifact@v4
Expand Down

0 comments on commit 41977e8

Please sign in to comment.