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

Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
This commit is contained in:
Alfi Maulana 2024-12-13 22:15:02 +07:00 committed by GitHub
parent bd59cecaf3
commit 82c8579f78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,10 +40,10 @@ jobs:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.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
``` ```