Skip to content

Commit

Permalink
fix(ci): use correct flags to download s3 files
Browse files Browse the repository at this point in the history
  • Loading branch information
youben11 committed May 16, 2024
1 parent 2caafc7 commit c432025
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push_wheels_to_public_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
S3_BUCKET_NAME: ${{ secrets.AWS_S3_PYPI_BUCKET_NAME }}
run: |
mkdir wheels
aws s3 cp "s3://${S3_BUCKET_NAME}/concrete-python/concrete_python-${{ inputs.version }}*" ./wheels/
aws s3 cp s3://${S3_BUCKET_NAME}/concrete-python/ ./wheels/ --recursive --exclude "*" --include "concrete_python-${{ inputs.version }}*"
echo "============== Downloaded wheels ==============="
ls -la ./wheels/
- name: Push wheels to public PyPI (public)
run: |
pip install twine==4.0.2
twine upload wheels/*.whl \
twine upload wheels/concrete_python-${{ inputs.version }}*.whl \
-u "${{ secrets.PUBLIC_PYPI_USER }}" \
-p "${{ secrets.PUBLIC_PYPI_PASSWORD }}" \
-r pypi
Expand Down

0 comments on commit c432025

Please sign in to comment.