From 857e10f3c9771c7d84cc37f93ad352a2a3f22b07 Mon Sep 17 00:00:00 2001 From: minhqdao Date: Tue, 27 Feb 2024 03:59:26 +0300 Subject: [PATCH] Try brackets in between --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b61360..b04db78 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: version: ${{ matrix.toolchain.version }} - name: Check Fortran compiler version run: - if [[ ${{ matrix.os }} == 'windows-latest' && ${{ matrix.toolchain.compiler }} == 'intel' ]]; then + if [ "${{ matrix.os }}" = "windows-latest" ] && [ "${{ matrix.toolchain.compiler }}" = "intel" ]; then ${{ steps.setup-fortran.outputs.fc }} /QV else ${{ steps.setup-fortran.outputs.fc }} --version