mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
chore: update ci to always push to pypi
This commit is contained in:
@@ -689,19 +689,12 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Push package to PyPi
|
||||
if: ${{ success() && !cancelled() && !fromJSON(env.IS_PRERELEASE) }}
|
||||
if: ${{ success() && !cancelled() }}
|
||||
run: |
|
||||
poetry run twine upload \
|
||||
-u __token__ -p ${{ secrets.PYPI_BOT_TOKEN }} \
|
||||
-r pypi "${{ env.ARTIFACTS_PACKAGED_DIR }}"/*.whl
|
||||
|
||||
- name: Push package to Internal PyPi
|
||||
if: ${{ success() && !cancelled() && fromJSON(env.IS_PRERELEASE) }}
|
||||
run: |
|
||||
poetry run twine upload \
|
||||
-u "${{ secrets.INTERNAL_PYPI_BOT_USERNAME }}" -p "${{ secrets.INTERNAL_PYPI_BOT_PASSWORD }}" \
|
||||
--repository-url "${{ secrets.INTERNAL_PYPI_URL }}" "${{ env.ARTIFACTS_PACKAGED_DIR }}"/*.whl
|
||||
|
||||
- name: Create GitHub release
|
||||
if: ${{ success() && !cancelled() }}
|
||||
id: create-release
|
||||
|
||||
Reference in New Issue
Block a user