Skip to content

Commit 0d3428e

Browse files
bors[bot]alallema
andauthored
Merge #514
514: Modify setup-java in ci workflow for v3 r=alallema a=alallema Following the update of `setup-java` to v3 the distribution is now required. It's throw an [error](https://github.com/meilisearch/meilisearch-java/actions/runs/3788961009/jobs/6442255873) ``` Run actions/setup-java@v3 with: java-version: 1.8 java-package: jdk check-latest: false server-id: github server-username: GITHUB_ACTOR server-password: GITHUB_TOKEN overwrite-settings: true job-status: success token: *** Error: Input required and not supplied: distribution ``` Co-authored-by: alallema <[email protected]>
2 parents 7f530c0 + d995bf6 commit 0d3428e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/pre-release-tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ jobs:
1414
name: integration-and-unit-tests-against-rc
1515
steps:
1616
- uses: actions/checkout@v3
17-
- name: Set up JDK 1.8
17+
- name: Set up Java
1818
uses: actions/setup-java@v3
1919
with:
20-
java-version: 1.8
20+
java-version: 8
21+
distribution: 'zulu'
22+
cache: gradle
2123
- name: Grant execute permission for gradlew
2224
run: chmod +x gradlew
2325
- name: Get the latest Meilisearch RC

0 commit comments

Comments
 (0)