mirror of
https://github.com/threeal/cmake-action.git
synced 2025-06-09 10:41:22 +00:00
docs(readme): adjust naming in the example workflows
This commit is contained in:
parent
5a179f0584
commit
d57d47b7b8
17
README.md
17
README.md
@ -55,18 +55,19 @@ on:
|
|||||||
push:
|
push:
|
||||||
jobs:
|
jobs:
|
||||||
build-project:
|
build-project:
|
||||||
|
name: Build Project
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the repository
|
- name: Checkout
|
||||||
uses: actions/checkout@v3.5.3
|
uses: actions/checkout@v4.1.1
|
||||||
|
|
||||||
- name: Configure the project
|
- name: Configure Project
|
||||||
uses: threeal/cmake-action@v1.3.0
|
uses: threeal/cmake-action@v1.3.0
|
||||||
|
|
||||||
- name: Build the project
|
- name: Build Project
|
||||||
runs: cmake --build build
|
runs: cmake --build build
|
||||||
|
|
||||||
- name: Test the project
|
- name: Test Project
|
||||||
runs: ctest --test-dir build
|
runs: ctest --test-dir build
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -75,7 +76,7 @@ jobs:
|
|||||||
#### Configure, Build, and Test in the Same Step
|
#### Configure, Build, and Test in the Same Step
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Configure, build, and test the project
|
- name: Configure, Build, and Test Project
|
||||||
uses: threeal/cmake-action@v1.3.0
|
uses: threeal/cmake-action@v1.3.0
|
||||||
with:
|
with:
|
||||||
run-build: true
|
run-build: true
|
||||||
@ -85,7 +86,7 @@ jobs:
|
|||||||
#### Specify the Source and Build Directories
|
#### Specify the Source and Build Directories
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Configure the project
|
- name: Configure Project
|
||||||
uses: threeal/cmake-action@v1.3.0
|
uses: threeal/cmake-action@v1.3.0
|
||||||
with:
|
with:
|
||||||
source-dir: submodules
|
source-dir: submodules
|
||||||
@ -95,7 +96,7 @@ jobs:
|
|||||||
#### Using Ninja as the Generator and Clang as the Compiler
|
#### Using Ninja as the Generator and Clang as the Compiler
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Configure the project
|
- name: Configure Project
|
||||||
uses: threeal/cmake-action@v1.3.0
|
uses: threeal/cmake-action@v1.3.0
|
||||||
with:
|
with:
|
||||||
generator: Ninja
|
generator: Ninja
|
||||||
|
Loading…
Reference in New Issue
Block a user