From 9aca38a7cc1abfe07a2ebbe04989e91c3f877a31 Mon Sep 17 00:00:00 2001 From: Paul Gessinger Date: Wed, 11 Dec 2024 11:15:32 +0100 Subject: [PATCH] fix comparison --- .github/workflows/spack.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/spack.yml b/.github/workflows/spack.yml index 965f06ab..145cbad4 100644 --- a/.github/workflows/spack.yml +++ b/.github/workflows/spack.yml @@ -97,7 +97,8 @@ jobs: TARGET_TRIPLET="" TARGET_TRIPLET="$(spack arch --family)" - if [[ "${{ inputs.os }}" == "macos*" ]]; then + OS="${{ inputs.os }}" + if [[ "${OS}" == macos* ]]; then TARGET_TRIPLET="${TARGET_TRIPLET}-xcode${{ inputs.xcode }}" fi