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