mirror of
https://github.com/threeal/cmake-action.git
synced 2025-06-09 10:41:22 +00:00
docs: bump action versions in example usages section of README.md
file
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
This commit is contained in:
parent
725d1314cc
commit
9bd95b602a
12
README.md
12
README.md
@ -40,10 +40,10 @@ jobs:
|
|||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Project
|
- name: Checkout Project
|
||||||
uses: actions/checkout@v4.2.1
|
uses: actions/checkout@v4.2.2
|
||||||
|
|
||||||
- name: Build Project
|
- name: Build Project
|
||||||
uses: threeal/cmake-action@v2.0.0
|
uses: threeal/cmake-action@v2.1.0
|
||||||
```
|
```
|
||||||
|
|
||||||
### Specify the Source and Build Directories
|
### Specify the Source and Build Directories
|
||||||
@ -52,7 +52,7 @@ By default, this action uses the current working directory as the source directo
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Build Project
|
- name: Build Project
|
||||||
uses: threeal/cmake-action@v2.0.0
|
uses: threeal/cmake-action@v2.1.0
|
||||||
with:
|
with:
|
||||||
source-dir: source
|
source-dir: source
|
||||||
build-dir: output
|
build-dir: output
|
||||||
@ -67,7 +67,7 @@ The following example demonstrates how to use this action to configure and build
|
|||||||
uses: seanmiddleditch/gha-setup-ninja@v5
|
uses: seanmiddleditch/gha-setup-ninja@v5
|
||||||
|
|
||||||
- name: Build Project
|
- name: Build Project
|
||||||
uses: threeal/cmake-action@v2.0.0
|
uses: threeal/cmake-action@v2.1.0
|
||||||
with:
|
with:
|
||||||
generator: Ninja
|
generator: Ninja
|
||||||
cxx-compiler: clang++
|
cxx-compiler: clang++
|
||||||
@ -79,7 +79,7 @@ Use the `options` input to specify additional options for configuring a project:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Build Project
|
- name: Build Project
|
||||||
uses: threeal/cmake-action@v2.0.0
|
uses: threeal/cmake-action@v2.1.0
|
||||||
with:
|
with:
|
||||||
options: |
|
options: |
|
||||||
BUILD_TESTS=ON
|
BUILD_TESTS=ON
|
||||||
@ -94,7 +94,7 @@ By default, this action builds the project after configuration. To skip the buil
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Configure Project
|
- name: Configure Project
|
||||||
uses: threeal/cmake-action@v2.0.0
|
uses: threeal/cmake-action@v2.1.0
|
||||||
with:
|
with:
|
||||||
run-build: false
|
run-build: false
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user