mirror of
				https://github.com/threeal/cmake-action.git
				synced 2025-11-04 13:53:41 +00:00 
			
		
		
		
	docs: update version to v1.3.0 in the readme file
This commit is contained in:
		
							parent
							
								
									7ef2eb8da6
								
							
						
					
					
						commit
						d549687b1f
					
				
							
								
								
									
										10
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
									
									
									
									
								
							@ -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
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user