From 7ee5191bcde131addf980d86644b05db99961265 Mon Sep 17 00:00:00 2001 From: Gerrod Ubben Date: Tue, 19 Mar 2024 14:47:18 -0400 Subject: [PATCH] Fix an if condition in release workflow [noissue] --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cfaeda53..54e1b5a6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,7 +61,7 @@ jobs: echo "PYTHON_VERSION=${python_version}" >> $GITHUB_ENV - name: Check valid Python version - if: !contains(fromJSON('["3.9", "3.10", "3.11", "3.12"]'), env.PYTHON_VERSION) + if: ${{ ! contains(fromJSON('["3.9", "3.10", "3.11", "3.12"]'), env.PYTHON_VERSION) }} run: | echo "Invalid Python Version (${{ env.PYTHON_VERSION }}), must be 3.9-3.12" exit 1