Skip to content

Commit dd4f3f3

Browse files
committed
fix syntax for release platform check in syft-install-check workflow
1 parent 34a6a7e commit dd4f3f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cd-post-release-tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,10 @@ jobs:
162162
163163
- name: Install Syft
164164
run: |
165-
if [[ "${{ inputs.release_platform }}" == "REAL_PYPI" ]]; then
165+
if (${{ inputs.release_platform }} == "REAL_PYPI"); then
166166
pip install syft==${{ inputs.syft_version }}
167167
fi
168-
if [[ "${{ inputs.release_platform }}" == "TEST_PYPI" ]]; then
168+
if (${{ inputs.release_platform }}" == "TEST_PYPI"); then
169169
pip install -i https://test.pypi.org/simple/ syft==${{ inputs.syft_version }}
170170
fi
171171

0 commit comments

Comments
 (0)