From ccbfb370102e9d63c4b203ae7a6326acc4690b9c Mon Sep 17 00:00:00 2001 From: Shubham Gupta Date: Tue, 2 Apr 2024 10:23:33 +0530 Subject: [PATCH] fix syntax --- .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 5a4cde63cff..f8eb57b63e9 100644 --- a/.github/workflows/cd-post-release-tests.yml +++ b/.github/workflows/cd-post-release-tests.yml @@ -170,10 +170,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