Add install cmake action - #310
Open
etcwilde wants to merge 1 commit into
Open
Conversation
jmschonfeld
reviewed
Aug 18, 2026
|
|
||
| - name: Install CMake | ||
| id: install-cmake | ||
| uses: swiftlang/github-workflows/.github/workflows/soundness.yml@<version> |
Member
Author
There was a problem hiding this comment.
No it is not. Nice catch.
etcwilde
force-pushed
the
ewilde/install-cmake-action
branch
from
August 18, 2026 23:08
c30f5aa to
062f1a7
Compare
Member
Author
... really? That's not even part of the license. |
Adding an action to install a specific version of CMake. The version is verified against a hash before being unpacked and installed.
etcwilde
force-pushed
the
ewilde/install-cmake-action
branch
from
August 18, 2026 23:10
062f1a7 to
c4e323a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding an action to install a specific version of CMake. The version is verified against a hash before being unpacked and installed.
I have verified this with several versions of CMake on Linux.
I haven't had a setup with macOS or Windows to test against yet, but the GitHub actions docs say that bash is available on all platforms (as is powershell, but I don't want to write powershell) with the note
The link format is consistent, with
cmake-<version>-<arch>.(tar.gz|.zip). There are OS-specific installer-based packages, but the tarballs and zips are easier to unpack and verify reliably.