mirror of
				https://github.com/threeal/cmake-action.git
				synced 2025-11-03 21:33:42 +00:00 
			
		
		
		
	specify shell to use PowerShell on Windows
This commit is contained in:
		
							parent
							
								
									8da16854fc
								
							
						
					
					
						commit
						6548c2aab5
					
				@ -78,9 +78,9 @@ runs:
 | 
				
			|||||||
        esac
 | 
					        esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Configure the CMake project
 | 
					    - name: Configure the CMake project
 | 
				
			||||||
      shell: bash
 | 
					      shell: ${{ runner.os == 'Windows' && 'pwsh' || 'bash' }}
 | 
				
			||||||
      run: cmake ${{ steps.process_inputs.outputs.cmake_args }}
 | 
					      run: cmake ${{ steps.process_inputs.outputs.cmake_args }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Build targets
 | 
					    - name: Build targets
 | 
				
			||||||
      shell: bash
 | 
					      shell: ${{ runner.os == 'Windows' && 'pwsh' || 'bash' }}
 | 
				
			||||||
      run: cmake ${{ steps.process_inputs.outputs.cmake_build_args }}
 | 
					      run: cmake ${{ steps.process_inputs.outputs.cmake_build_args }}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user