Skip to content

CI: Update GH Actions before Node.js 20 deprecation + minor tweaks#660

Closed
jajik wants to merge 4 commits into
apache:trunkfrom
jajik:update-ci
Closed

CI: Update GH Actions before Node.js 20 deprecation + minor tweaks#660
jajik wants to merge 4 commits into
apache:trunkfrom
jajik:update-ci

Conversation

@jajik

@jajik jajik commented Jun 2, 2026

Copy link
Copy Markdown

The current CI triggers warnings because in two weeks Node.js 20 actions will stop working. This PR updates all affected actions.

Additionally, it drops shell: cmd and uses PowerShell for the Windows workflow since it has already been introduced there (see 767d955).

Finally, it removes the fix for Ubuntu 22.04 since it's no longer used.

@notroj

notroj commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

@jajik the third bit is conflicting when I try to apply it with patch, can you redo after recent trunk changes?

@jajik

jajik commented Jun 2, 2026

Copy link
Copy Markdown
Author

@notroj Should be done now. It seems Ivan is trying to eat my lunch today!

@jajik

jajik commented Jun 3, 2026

Copy link
Copy Markdown
Author

Another rebase after trunk changes.

@notroj I pushed a new commit that adds cmake --version to the Windows workflow. Given the recent issues, it could make things clearer.

Basically, the old Windows image used CMake 3.31.6, while the new one uses 4.3.2. That means that the 2.4.x branch will eventually need (apart from 767d955) at least 3.5 in CMAKE_MINIMUM_REQUIRED in order to work (and this also affects Fedora 44, for example).

jajik pushed a commit to jajik/httpd that referenced this pull request Jun 3, 2026
CMake: update min version required

GitHub: closes apache#640
Submitted by: Jeff McKenna <jmckenna gatewaygeomatics.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933910 13f79535-47bb-0310-9956-ffa450edef68

Fix Windows GHA build.

* .github/workflows/windows.yml
  (): Use Enter-VsDevShell to find VS installation and save
   environment variables to GITHUB_ENV.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934871 13f79535-47bb-0310-9956-ffa450edef68

CI: Update used actions to use newer Node.js than 20
CI: Update upload-artifact action, drop unnecessary Ubuntu 22.04 fix
CI: Drop 'shell: cmd', use PowerShell for the Windows workflow
CI: Print used CMake version for Windows workflow

Submitted by: Vladimír Chlup <vchlup ibm.com>
Github: closes apache#660

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934917 13f79535-47bb-0310-9956-ffa450edef68
jajik pushed a commit to jajik/httpd that referenced this pull request Jun 3, 2026
CMake: update min version required

GitHub: closes apache#640
Submitted by: Jeff McKenna <jmckenna gatewaygeomatics.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933910 13f79535-47bb-0310-9956-ffa450edef68

Fix Windows GHA build.

* .github/workflows/windows.yml
  (): Use Enter-VsDevShell to find VS installation and save
   environment variables to GITHUB_ENV.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934871 13f79535-47bb-0310-9956-ffa450edef68

CI: Update used actions to use newer Node.js than 20
CI: Update upload-artifact action, drop unnecessary Ubuntu 22.04 fix
CI: Drop 'shell: cmd', use PowerShell for the Windows workflow
CI: Print used CMake version for Windows workflow

Submitted by: Vladimír Chlup <vchlup ibm.com>
Github: closes apache#660

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934917 13f79535-47bb-0310-9956-ffa450edef68

* .github/workflows/windows.yml: Use checkout@v6.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934873 13f79535-47bb-0310-9956-ffa450edef68
asf-gitbox-commits pushed a commit that referenced this pull request Jun 3, 2026
…-Unix build + CI changes]

CMake: update min version required

GitHub: closes #640
Submitted by: Jeff McKenna <jmckenna gatewaygeomatics.com>

Fix Windows GHA build.

* .github/workflows/windows.yml
  (): Use Enter-VsDevShell to find VS installation and save
   environment variables to GITHUB_ENV.

CI: Update used actions to use newer Node.js than 20
CI: Update upload-artifact action, drop unnecessary Ubuntu 22.04 fix
CI: Drop 'shell: cmd', use PowerShell for the Windows workflow
CI: Print used CMake version for Windows workflow

Submitted by: Vladimír Chlup <vchlup ibm.com>
Github: closes #660

* .github/workflows/windows.yml: Use checkout@v6.

Submitted by: ivan
Github: closes #663


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1934934 13f79535-47bb-0310-9956-ffa450edef68
@jajik jajik deleted the update-ci branch June 4, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants