mirror of
				https://github.com/threeal/cmake-action.git
				synced 2025-11-03 21:33:42 +00:00 
			
		
		
		
	add workflow step to test this action with specified source dir
This commit is contained in:
		
							parent
							
								
									d008b5582a
								
							
						
					
					
						commit
						69f2474e5e
					
				
							
								
								
									
										14
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							@ -17,3 +17,17 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      - name: Run build result
 | 
					      - name: Run build result
 | 
				
			||||||
        run: ./build/hello_world
 | 
					        run: ./build/hello_world
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  use-action-with-specified-source-dir:
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - name: Checkout repository
 | 
				
			||||||
 | 
					        uses: actions/checkout@v3.3.0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Use this action with specified source directory
 | 
				
			||||||
 | 
					        uses: ./
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          source-dir: test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Run build result
 | 
				
			||||||
 | 
					        run: ./build/hello_world
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user