Skip to content

Commit

Permalink
fix syntax for release platform check in syft-install-check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham3121 committed Apr 1, 2024
1 parent 34a6a7e commit dd4f3f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd-post-release-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd4f3f3

Please sign in to comment.