restrict qiskit version to 1.x (#220) #70
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | |
on: | |
push: | |
tags: | |
- "*" | |
permissions: | |
contents: read | |
jobs: | |
publish-to-pypi: | |
name: publish-to-pypi | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- uses: actions/setup-python@v5 | |
name: install-python | |
with: | |
python-version: 3.13 | |
- name: install-deps | |
run: | | |
pip install -U setuptools wheel build | |
- name: build | |
shell: bash | |
run: | | |
python -m build | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: ./dist/qiskit* | |
- name: Publish package to PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1 |