Merge pull request #55 from Consensys/jdk21

use jdk21 after grade is updated now
renovate/configure 0.5.0
Joshua Fernandes 6 months ago committed by GitHub
commit 857d4a8d54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      tasks/compile.yml

@ -13,8 +13,8 @@
- name: Ensure JDK is installed - name: Ensure JDK is installed
fail: fail:
msg: "You must have JDK 17 or later installed. {{ 'No version found.' if jdk_version is failed else 'Found version ' + jdk_version.stdout }}" msg: "You must have JDK 21 or later installed. {{ 'No version found.' if jdk_version is failed else 'Found version ' + jdk_version.stdout }}"
when: jdk_version.stdout is version('17.0.0', '<') when: jdk_version.stdout is version('21.0.0', '<')
- name: Clone Besu Sources - name: Clone Besu Sources
git: git:
@ -25,7 +25,7 @@
depth: 1 depth: 1
- name: Build Besu - name: Build Besu
shell: "JAVA_HOME=$(update-java-alternatives --list | grep 17 | tail -n 1 | awk '{print $3}') ./gradlew --no-daemon --parallel clean assemble" command: ./gradlew --no-daemon --parallel clean assemble
args: args:
chdir: /tmp/besu chdir: /tmp/besu
changed_when: true changed_when: true

Loading…
Cancel
Save