Add log of which version was chosen #59
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
check-win32: | |
runs-on: ${{ matrix.os }} | |
name: Check action on 32bit windows | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest] | |
cmake_ver: ['', '3.19.3', '3.15.1', '2.8'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup cmake | |
uses: ./ | |
id: setup | |
with: | |
cmake-version: ${{ matrix.cmake_ver }} | |
use-32bit: 'true' | |
- name: Run cmake --version | |
shell: bash | |
run: | | |
VERSION=`cmake --version` | |
echo $VERSION | |
[[ "$VERSION" =~ "${{ matrix.cmake_ver }}" ]] |