Skip to content

Commit

Permalink
Use Java 11 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
russhwolf committed Oct 3, 2022
1 parent fbcab6d commit 772c49f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
20 changes: 2 additions & 18 deletions azure-pipelines-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,6 @@ pr: none
jobs:
- job: "General"
steps:
- task: Bash@3
inputs:
targetType: 'inline'
script: |
mkdir -p ./jdk/binaries/
curl https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-fx-jdk11.0.15-linux_x64.tar.gz --output ./jdk/zulu11.56.19-ca-fx-jdk11.0.15-linux_x64.tar.gz
- task: JavaToolInstaller@0
inputs:
jdkFile: ./jdk/zulu11.56.19-ca-fx-jdk11.0.15-linux_x64.tar.gz
versionSpec: "11"
jdkArchitectureOption: x64
jdkSourceOption: LocalDirectory
jdkDestinationDirectory: "./jdk/binaries/"
cleanDestinationDirectory: true

- task: Gradle@2
inputs:
workingDirectory: ''
Expand Down Expand Up @@ -48,7 +32,7 @@ jobs:
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8'
jdkVersionOption: '11'
jdkArchitectureOption: 'x64'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
Expand All @@ -70,7 +54,7 @@ jobs:
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8'
jdkVersionOption: '11'
jdkArchitectureOption: 'x64'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8'
jdkVersionOption: '11'
jdkArchitectureOption: 'x64'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8'
jdkVersionOption: '11'
jdkArchitectureOption: 'x64'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
Expand Down

0 comments on commit 772c49f

Please sign in to comment.