Skip to content

Commit

Permalink
Try with setup-java 2
Browse files Browse the repository at this point in the history
  • Loading branch information
alallema committed Feb 3, 2022
1 parent ed37105 commit 7896425
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ossrh-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,24 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 1.8
java-version: 8
distribution: 'zulu'
cache: gradle
- name: Check release validity
run: bash .github/scripts/check-release.sh
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Archive test report
uses: actions/upload-artifact@v2
if: failure()
with:
name: Test report
path: build/reports/tests/test
if-no-files-found: ignore
- name: Decode secring.gpg
run: |
echo "${{secrets.SIGNING_SECRET_KEY_RING_FILE}}" > ~/.gradle/secring.gpg.b64
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ jobs:
name: integration-and-unit-tests
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: 1.8
java-version: 8
distribution: 'zulu'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Meilisearch (latest version) setup with Docker
Expand All @@ -33,8 +35,7 @@ jobs:
if: failure()
with:
name: Test report
path: |
build/reports/tests/integrationTest
path: build/reports/tests/integrationTest
if-no-files-found: ignore

linter:
Expand Down

0 comments on commit 7896425

Please sign in to comment.