specify shell to use PowerShell on Windows

This commit is contained in:
Alfi Maulana 2023-01-17 13:01:24 +07:00
parent 8da16854fc
commit 6548c2aab5
No known key found for this signature in database
GPG Key ID: 2242A64C2A8DF5A4

View File

@ -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 }}