From dd4f3f3e6056454a2338335b3e0f257281cb92e6 Mon Sep 17 00:00:00 2001 From: Shubham Gupta Date: Mon, 1 Apr 2024 23:48:29 +0530 Subject: [PATCH] fix syntax for release platform check in syft-install-check workflow --- .github/workflows/cd-post-release-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd-post-release-tests.yml b/.github/workflows/cd-post-release-tests.yml index 5aa4329fe03..cc075087fec 100644 --- a/.github/workflows/cd-post-release-tests.yml +++ b/.github/workflows/cd-post-release-tests.yml @@ -162,10 +162,10 @@ jobs: - name: Install Syft run: | - if [[ "${{ inputs.release_platform }}" == "REAL_PYPI" ]]; then + if (${{ inputs.release_platform }} == "REAL_PYPI"); then pip install syft==${{ inputs.syft_version }} fi - if [[ "${{ inputs.release_platform }}" == "TEST_PYPI" ]]; then + if (${{ inputs.release_platform }}" == "TEST_PYPI"); then pip install -i https://test.pypi.org/simple/ syft==${{ inputs.syft_version }} fi