mirror of
https://github.com/threeal/cmake-action.git
synced 2026-02-01 19:40:49 +00:00
specify shell to use PowerShell on Windows
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user