On Tue, 14 Apr 2026 18:32:36 GMT, Ambarish Rapte <[email protected]> wrote:
> The GHA actions needs to be updated. > Currently GHA builds show warnings, for example the build : > https://github.com/arapte/jfx/actions/runs/24330731766 > > **Linux x64 & macOS x64 & macOS aarch64** > `Warning: Node.js 20 actions are deprecated. The following actions are > running on Node.js 20 and may not work as expected: actions/checkout@v4. > Actions will be forced to run with Node.js 24 by default starting June 2nd, > 2026. Node.js 20 will be removed from the runner on September 16th, 2026. > Please check if updated versions of these actions are available that support > Node.js 24. To opt into Node.js 24 now, set the > FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or > in your workflow file. Once Node.js 24 becomes the default, you can > temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. > For more information see: > https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/` > > **Windows x64** > `Warning: Node.js 20 actions are deprecated. The following actions are > running on Node.js 20 and may not work as expected: actions/cache@v4, > actions/checkout@v4. Actions will be forced to run with Node.js 24 by default > starting June 2nd, 2026. Node.js 20 will be removed from the runner on > September 16th, 2026. Please check if updated versions of these actions are > available that support Node.js 24. To opt into Node.js 24 now, set the > FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or > in your workflow file. Once Node.js 24 becomes the default, you can > temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. > For more information see: > https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/` > <br> > > These warnings go away with this PR changes. > Build with this PR: https://github.com/arapte/jfx/actions/runs/24409801823 > > Changes: > - Update actions/checkout to v6, Reference: > https://github.com/actions/checkout/releases > - Update actions/caches to v5, Reference: > https://github.com/actions/cache/releases > - Update gradle/actions/wrapper-validation to v6, Reference: > https://github.com/gradle/actions/blob/main/wrapper-validation/README.md > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: cea8d3a2 Author: Ambarish Rapte <[email protected]> URL: https://git.openjdk.org/jfx/commit/cea8d3a2f1546b2b23ef313054b44d90b148a99f Stats: 12 lines in 1 file changed: 0 ins; 0 del; 12 mod 8382046: GHA: Update to wrapper-validation@v6, checkout@v6, cache@v5 Reviewed-by: kcr, mhanl ------------- PR: https://git.openjdk.org/jfx/pull/2148
