Skip to content

Commit

Permalink
Merge pull request #8649 from OpenMined/post-release-workflow
Browse files Browse the repository at this point in the history
force parse to string vars evaluated from github inputs
  • Loading branch information
shubham3121 committed Apr 2, 2024
2 parents 8c2c819 + be0c135 commit da6f7a6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/cd-post-release-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,11 @@ jobs:
- name: Install Syft
run: |
if (${{ inputs.release_platform }} == "REAL_PYPI"); then
pip install syft==${{ inputs.syft_version }}
if [[ ${{inputs.release_platform}} == "REAL_PYPI" ]]; then
pip install syft==${{inputs.syft_version}}
fi
if (${{ inputs.release_platform }}" == "TEST_PYPI"); then
pip install -i https://test.pypi.org/simple/ syft==${{ inputs.syft_version }}
if [[ ${{ inputs.release_platform }} == "TEST_PYPI" ]]; then
pip install -i https://test.pypi.org/simple/ syft==${{inputs.syft_version}}
fi
- name: Check Syft version
Expand Down Expand Up @@ -282,11 +282,11 @@ jobs:
env:
SYFT_VERSION: ${{ inputs.syft_version }}
run: |
if [[ "${{ inputs.release_platform }}" == "TEST_PYPI" ]]; then
pip install -i https://test.pypi.org/simple/ syft==${{ inputs.syft_version }}[data_science];
if [[ ${{ inputs.release_platform }} == "TEST_PYPI" ]]; then
pip install -i https://test.pypi.org/simple/ syft[data_science,dev]==${{ inputs.syft_version }}
fi
if [[ "${{ inputs.release_platform }}" == "REAL_PYPI" ]]; then
pip install syft==${{ inputs.syft_version }}[data_science];
if [[ ${{ inputs.release_platform }} == "REAL_PYPI" ]]; then
pip install syft[data_science,dev]==${{ inputs.syft_version }}
fi
- name: Install Hagrid, tox and uv
Expand Down

0 comments on commit da6f7a6

Please sign in to comment.