docs: update version to v1.3.0 in the readme file (#61)

This commit is contained in:
Alfi Maulana 2023-08-09 16:06:31 +07:00 committed by GitHub
parent 7ef2eb8da6
commit 961184a733
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ jobs:
uses: actions/checkout@v3.5.3 uses: actions/checkout@v3.5.3
- name: Configure the project - name: Configure the project
uses: threeal/cmake-action@v1.2.0 uses: threeal/cmake-action@v1.3.0
- name: Build the project - name: Build the project
runs: cmake --build build runs: cmake --build build
@ -70,13 +70,13 @@ jobs:
runs: ctest --test-dir build runs: ctest --test-dir build
``` ```
> **Note**: You can replace [`v1.2.0`](https://github.com/threeal/cmake-action/releases/tag/v1.2.0) with any version you prefer. See [this](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsuses). > **Note**: You can replace [`v1.3.0`](https://github.com/threeal/cmake-action/releases/tag/v1.3.0) with any version you prefer. See [this](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsuses).
#### 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 the project
uses: threeal/cmake-action@v1.2.0 uses: threeal/cmake-action@v1.3.0
with: with:
run-build: true run-build: true
run-test: true run-test: true
@ -86,7 +86,7 @@ jobs:
```yaml ```yaml
- name: Configure the project - name: Configure the project
uses: threeal/cmake-action@v1.2.0 uses: threeal/cmake-action@v1.3.0
with: with:
source-dir: submodules source-dir: submodules
build-dir: submodules/out build-dir: submodules/out
@ -96,7 +96,7 @@ jobs:
```yaml ```yaml
- name: Configure the project - name: Configure the project
uses: threeal/cmake-action@v1.2.0 uses: threeal/cmake-action@v1.3.0
with: with:
generator: Ninja generator: Ninja
c-compiler: clang c-compiler: clang