diff --git a/.github/workflows/cd-post-release-tests.yml b/.github/workflows/cd-post-release-tests.yml index ae743b2e3a8..5a4cde63cff 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 @@ -282,10 +282,10 @@ jobs: env: SYFT_VERSION: ${{ inputs.syft_version }} run: | - 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 }}[data_science]; fi - if [[ "${{ inputs.release_platform }}" == "REAL_PYPI" ]]; then + if ("${{ inputs.release_platform }}" == "REAL_PYPI"); then pip install syft==${{ inputs.syft_version }}[data_science]; fi