Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 15 additions & 16 deletions .github/workflows/client-pypi-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,23 @@ jobs:
release-package:
name: Build and Publish Release Artifacts
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/qiskit-ibm-catalog
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 #4.1.7
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f #5.1.1
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.11'
- name: Install Deps
run: pip install -U twine==5.1.1 wheel==0.44.0
- name: Build Artifacts
run: |
python setup.py sdist
python setup.py bdist_wheel
shell: bash
- uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 #4.3.5
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build artifacts
run: python -m build
- name: Publish release to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
path: ./dist/qiskit_ibm_catalog*
- name: Publish to PyPi
env:
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
run: twine upload dist/qiskit_ibm_catalog*
user: ${{ secrets.PYPI_USERNAME }}
password: ${{ secrets.PYPI_PASSWORD }}
7 changes: 0 additions & 7 deletions setup.py

This file was deleted.