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