Skip to content

Commit

Permalink
CMake version 3.24.3 (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukka authored Nov 4, 2022
1 parent 875c83c commit 95a13ae
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

env:
CMAKE_LATEST: 3.24.2
CMAKE_LATEST: 3.24.3
NINJA_LATEST: 1.11.1

jobs:
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

# [The **get-cmake** action for downloading and caching CMake and ninja binaries](https://github.com/marketplace/actions/get-cmake) on the GitHub agents.

Restores from cache, or downloads and caches CMake **v3.24.2** and Ninja **v1.11.1**.
Restores from cache, or downloads and caches CMake **v3.24.3** and Ninja **v1.11.1**.
Works for x64 on Linux/macOS/Windows.

Flowchart of `get-cmake`:
Expand All @@ -29,28 +29,28 @@ Flowchart of `get-cmake`:
## Quickstart

```yaml
# - uses: actions/cache@v1 <-----= YOU DO NOT NEED THIS
# key: <key> <-----= YOU DO NOT NEED THIS
# path: <path> <-----= YOU DO NOT NEED THIS
# - uses: actions/cache@v1 <-----= YOU DO NOT NEED THIS
# key: <key> <-----= YOU DO NOT NEED THIS
# path: <path> <-----= YOU DO NOT NEED THIS

- name: Get latest CMake and ninja
# Using 'latest' branch, the most recent CMake and ninja are installed.
uses: lukka/get-cmake@latest THIS IS THE ONE LINER YOU NEED
uses: lukka/get-cmake@latest # <--= THIS IS THE ONE LINER YOU NEED


# If you need to _pin_ your workflow to specific CMake/ninja versions you have TWO options:

# Option 1: specify in a input parameter the desired version (using multiple lines).
- name: Get specific version CMake, v3.24.2, and ninja v1.11.1
- name: Get specific version CMake, v3.24.3, and ninja v1.11.1
uses: lukka/get-cmake@latest
with:
cmakeVersion: 3.24.2
ninjaVersion: 1.11.1
cmakeVersion: 3.24.3 # <--= optional, overrides the _latest_ version of CMake
ninjaVersion: 1.11.1 # <--= optional, overrides the _latest_ version of Ninja

# Option 2: or you can use the Git 'tag' to select the version, and you can have a one-liner statement,
# but note that you can only use one of the existing tags, create a PR to add more tags!
- name: Get specific version CMake, v3.24.2
uses: lukka/[email protected].2 THIS IS THE ONE LINER YOU NEED
- name: Get specific version CMake, v3.24.3
uses: lukka/[email protected].3 # <- THIS IS THE ONE LINER YOU NEED
```
<br>
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class ToolsGetter {
}
}
exports.ToolsGetter = ToolsGetter;
ToolsGetter.CMakeDefaultVersion = '3.24.2';
ToolsGetter.CMakeDefaultVersion = '3.24.3';
ToolsGetter.NinjaDefaultVersion = '1.11.1';
function main() {
return __awaiter(this, void 0, void 0, function* () {
Expand Down
2 changes: 1 addition & 1 deletion src/get-cmake.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function hashCode(text: string): string {
}

export class ToolsGetter {
private static readonly CMakeDefaultVersion = '3.24.2';
private static readonly CMakeDefaultVersion = '3.24.3';
private static readonly NinjaDefaultVersion = '1.11.1';
private cmakeVersion: string | undefined;
private ninjaVersion: string | undefined;
Expand Down

0 comments on commit 95a13ae

Please sign in to comment.