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