File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ permissions: { }
2525env :
2626 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2727 JAVA_DISTRIBUTION : liberica
28- JAVA_VERSION : 21.0.12
28+ JAVA_VERSION : 21.0.12 # keep it synced with .sdkmanrc
2929 VERSION : ${{ inputs.version }}
3030jobs :
3131 docs :
Original file line number Diff line number Diff line change 1- # Keep java version synced with .github/workflows/release.yml ($JAVA_VERSION) and etc/bin/Dockerfile (primary JDK).
1+ # When the java version changes, also update:
2+ # - $JAVA_VERSION in .github/workflows/release.yml and .github/workflows/release-publish-docs.yml
3+ # - LIBERICA_VERSION in etc/bin/Dockerfile: the version plus the build actions/setup-java installs for it,
4+ # as the bell-sw/Liberica GitHub release names it (<version>+<build>)
5+ # - LIBERICA_SHA256_AMD64 and LIBERICA_SHA256_AARCH64 in etc/bin/Dockerfile: the sha256 of that release's
6+ # bellsoft-jdk<version>+<build>-linux-amd64.tar.gz and -linux-aarch64.tar.gz
27# This is the default JDK for all of grails-core EXCEPT the Grails-Micronaut "island"
38# (grails-micronaut, grails-micronaut-bom), which is built against Micronaut 5 / JVM 25
49# bytecode. The release workflow installs a secondary Liberica JDK pinned via
Original file line number Diff line number Diff line change @@ -485,10 +485,9 @@ The Grails image is officially built on linux in a GitHub action using an Ubuntu
485485locally, you can use the following command (substitute ` < git-tag-of-release> ` with the tag name):
486486
487487The verification container installs the Liberica JDK build pinned by ` LIBERICA_VERSION` in ` etc/bin/Dockerfile` , which is
488- the archive ` actions/setup-java` installs for the release. Keep that version synchronized with `$JAVA_VERSION` in
489- ` .github/workflows/release.yml` , and update its checksums with it. Liberica' s JDK images are not used, because an image tag
490- can be a later build of the same version (the `21.0.12` image is `21.0.12.1`) and the images leave out the JDK sources
491- (`lib/src.zip`).
488+ the archive ` actions/setup-java` installs for the release. It changes with the java version in ` .sdkmanrc` , whose comment
489+ lists every file to update with it. Liberica' s JDK images are not used, because an image tag can be a later build of the
490+ same version and the images leave out the JDK sources (`lib/src.zip`).
492491
493492**macOS/Linux**
494493```bash
Original file line number Diff line number Diff line change @@ -23,10 +23,9 @@ RUN apt-get update && apt-get install -y ca-certificates curl unzip coreutils li
2323
2424# The JDK is the archive actions/setup-java installs for the release (see "Setup JDK" in
2525# .github/workflows/release.yml), so the release is verified with the JDK build it was built with.
26- # The Liberica JDK images are not: the 21.0.12 image is the later 21.0.12.1 build, and the images
27- # leave out the JDK sources (lib/src.zip).
28- # Keep the version synced with .sdkmanrc and .github/workflows/release.yml ($JAVA_VERSION), and
29- # update both checksums with it.
26+ # Liberica's JDK images are not used: an image tag can be a later build of the same version, and the
27+ # images leave out the JDK sources (lib/src.zip).
28+ # The version and both checksums change with the java version in .sdkmanrc; its comment says how.
3029ARG LIBERICA_VERSION=21.0.12+10
3130ARG LIBERICA_SHA256_AMD64=23b48e59f47099597f84378c0a765c83588dcad7f6987eb2fef0d08e7ee19f96
3231ARG LIBERICA_SHA256_AARCH64=4d3c0090153dc74cadf40eee57ce6f8efdbe10b28e1420103c6cbe86982f039d
You can’t perform that action at this time.
0 commit comments