try and revert back to v1 java setup in the home it downloads a sesnible jdk
@@ -17,9 +17,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
- uses: actions/setup-java@v2
+ uses: actions/setup-java@v1
with:
- distribution: 'adopt'
java-version: 11
- name: Grant execute permission for gradlew
run: chmod +x gradlew
@@ -57,9 +56,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - uses: actions/setup-java@v2
+ - uses: actions/setup-java@v1
with:
- distribution: 'adopt'
java-version: 11
- run: ./gradlew dependencyCheckAnalyze -x test
- uses: homoluctus/slatify@v3.0.0
@@ -73,9 +71,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - uses: actions/setup-java@v2
+ - uses: actions/setup-java@v1
with:
- distribution: 'adopt'
java-version: 11
- run: ./gradlew test -x dependencyCheckAnalyze -x :tests:acceptance-test:test -x javadoc -x :cli:config-cli:jacocoTestCoverageVerification --info
- uses: homoluctus/slatify@v3.0.0
@@ -89,14 +86,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - run: |
- curl -L https://corretto.aws/downloads/latest/amazon-corretto-11-x64-linux-jdk.tar.gz -o $RUNNER_TEMP/amazon-corretto-11-x64-linux-jdk.tar.gz
- - uses: actions/setup-java@v2
+ - uses: actions/setup-java@v1
with:
- distribution: 'jdkfile'
java-version: 11
- jdkFile: ${{ runner.temp }}/amazon-corretto-11-x64-linux-jdk.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
@@ -121,9 +113,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - uses: actions/setup-java@v2
+ - uses: actions/setup-java@v1
with:
- distribution: 'adopt'
java-version: 11
- run: |
wget https://releases.hashicorp.com/vault/1.2.2/vault_1.2.2_linux_amd64.zip -O /tmp/vault_1.2.2_linux_amd64.zip
@@ -153,9 +144,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - uses: actions/setup-java@v2
+ - uses: actions/setup-java@v1
with:
- distribution: 'adopt'
java-version: 11
- run: |
./gradlew build -x dependencyCheckAnalyze -x javadoc -x test
@@ -181,9 +171,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - uses: actions/setup-java@v2
+ - uses: actions/setup-java@v1
with:
- distribution: 'adopt'
java-version: 11
- run: |
./gradlew build -x test -x dependencyCheckAnalyze -x javadoc
