Skip to content

Commit 62526ae

Browse files
committed
ci: improved gradle handling in GH workflows
1 parent 47b3886 commit 62526ae

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/ci-build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,14 @@ jobs:
5151
with:
5252
limit-access-to-actor: true
5353
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
54-
- uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # v1
55-
- name: install-java8
54+
- name: install-java11
5655
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3
5756
with:
5857
java-version: 11
5958
distribution: temurin
6059
cache: gradle
60+
- name: setup-gradle
61+
uses: gradle/actions/setup-gradle@v4
6162
- name: build-gradle
6263
run: ./gradlew --no-daemon clean build installDist publish --build-cache --scan -s
6364
- name: integration-test-non-windows

.github/workflows/publish-packages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
java-version: 11
3434
distribution: temurin
3535
cache: gradle
36+
- name: setup-gradle
37+
uses: gradle/actions/setup-gradle@v4
3638
- name: build-gradle
3739
run: ./gradlew --no-daemon clean build -x test --build-cache --scan -s
3840
- name: version extract

.github/workflows/tag-and-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
java-version: 11
3434
distribution: temurin
3535
cache: gradle
36+
- name: setup-gradle
37+
uses: gradle/actions/setup-gradle@v4
3638
- name: build-gradle
3739
run: ./gradlew --no-daemon clean build installDist publish --build-cache --scan -s
3840
- name: integration-test

0 commit comments

Comments
 (0)