mirror of
https://github.com/threeal/cmake-action.git
synced 2025-04-20 02:31:20 +00:00
docs: bump action versions in example usages section of README.md
file (#545)
Some checks are pending
Build / Build Package (push) Waiting to run
Check / Check Package (push) Waiting to run
Test / Test Package (push) Waiting to run
Test / Test Action (macos-14) (push) Waiting to run
Test / Test Action (ubuntu-24.04) (push) Waiting to run
Test / Test Action (windows-2022) (push) Waiting to run
Test / Test Action With Specified Directories (push) Waiting to run
Test / Test Action Without Run Build (push) Waiting to run
Test / Test Action With Additional Options (push) Waiting to run
Test / Test Action With Custom Generator (push) Waiting to run
Some checks are pending
Build / Build Package (push) Waiting to run
Check / Check Package (push) Waiting to run
Test / Test Package (push) Waiting to run
Test / Test Action (macos-14) (push) Waiting to run
Test / Test Action (ubuntu-24.04) (push) Waiting to run
Test / Test Action (windows-2022) (push) Waiting to run
Test / Test Action With Specified Directories (push) Waiting to run
Test / Test Action Without Run Build (push) Waiting to run
Test / Test Action With Additional Options (push) Waiting to run
Test / Test Action With Custom Generator (push) Waiting to run
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
This commit is contained in:
parent
bd59cecaf3
commit
82c8579f78
12
README.md
12
README.md
@ -40,10 +40,10 @@ jobs:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- name: Checkout Project
|
||||
uses: actions/checkout@v4.2.1
|
||||
uses: actions/checkout@v4.2.2
|
||||
|
||||
- name: Build Project
|
||||
uses: threeal/cmake-action@v2.0.0
|
||||
uses: threeal/cmake-action@v2.1.0
|
||||
```
|
||||
|
||||
### Specify the Source and Build Directories
|
||||
@ -52,7 +52,7 @@ By default, this action uses the current working directory as the source directo
|
||||
|
||||
```yaml
|
||||
- name: Build Project
|
||||
uses: threeal/cmake-action@v2.0.0
|
||||
uses: threeal/cmake-action@v2.1.0
|
||||
with:
|
||||
source-dir: source
|
||||
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
|
||||
|
||||
- name: Build Project
|
||||
uses: threeal/cmake-action@v2.0.0
|
||||
uses: threeal/cmake-action@v2.1.0
|
||||
with:
|
||||
generator: Ninja
|
||||
cxx-compiler: clang++
|
||||
@ -79,7 +79,7 @@ Use the `options` input to specify additional options for configuring a project:
|
||||
|
||||
```yaml
|
||||
- name: Build Project
|
||||
uses: threeal/cmake-action@v2.0.0
|
||||
uses: threeal/cmake-action@v2.1.0
|
||||
with:
|
||||
options: |
|
||||
BUILD_TESTS=ON
|
||||
@ -94,7 +94,7 @@ By default, this action builds the project after configuration. To skip the buil
|
||||
|
||||
```yaml
|
||||
- name: Configure Project
|
||||
uses: threeal/cmake-action@v2.0.0
|
||||
uses: threeal/cmake-action@v2.1.0
|
||||
with:
|
||||
run-build: false
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user