provide jdk download as openjdk dists supported by actions/setup-java@v2 are missing EC stuff and other such annoynances.
@@ -89,10 +89,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
+ - run: |
+ wget --no-check-certificate -c --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/11+28/55eed80b163941c8885ad9298e6d786a/jdk-11_linux-x64_bin.tar.gz -O $RUNNER_TEMP/java_package.tar.gz
- uses: actions/setup-java@v2
with:
- distribution: 'zulu'
+ distribution: 'jdkfile'
java-version: 11
+ jdkFile: ${{ runner.temp }}/java_package.tar.gz
+ architecture: x64
- run: |
./gradlew build -x dependencyCheckAnalyze -x javadoc -x test
./gradlew :tests:acceptance-test:clean :tests:acceptance-test:test -PexcludeTests="RunHashicorpIT,AwsKeyVaultIT,RecoverIT,AzureKeyVaultIT,RunAzureIT" --info
