try specific java version
@@ -21,7 +21,7 @@ jobs:
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
- java-version: 11
+ java-version: 11.0.7
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
@@ -51,7 +51,7 @@ jobs:
${{ env.GRADLE_CACHE_KEY }}
- uses: actions/setup-java@v1
with:
- java-version: 11
+ java-version: 11.0.7
- run: ./gradlew dependencyCheckAnalyze -x test
test:
@@ -68,7 +68,7 @@ jobs:
${{ env.GRADLE_CACHE_KEY }}
- uses: actions/setup-java@v1
with:
- java-version: 11
+ java-version: 11.0.7
- run: ./gradlew test -x dependencyCheckAnalyze -x :tests:acceptance-test:test --info
itest:
runs-on: ubuntu-latest
@@ -84,7 +84,7 @@ jobs:
${{ env.GRADLE_CACHE_KEY }}
- uses: actions/setup-java@v1
with:
- java-version: 11
+ java-version: 11.0.7
- run: ./gradlew :tests:acceptance-test:test -PexcludeTests="**/RestSuiteHttpH2RemoteEnclave.class"
- uses: actions/upload-artifact@v1
if: failure()
@@ -106,7 +106,7 @@ jobs:
${{ env.GRADLE_CACHE_KEY }}
- uses: actions/setup-java@v1
with:
- java-version: 11
+ java-version: 11.0.7
- run: ./gradlew :tests:acceptance-test:test --tests RestSuiteHttpH2RemoteEnclave
- uses: actions/upload-artifact@v1
if: failure()
@@ -121,7 +121,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
- java-version: 11
+ java-version: 11.0.7
- uses: actions/cache@v1
with:
path: ~/.gradle/caches
