Prep 1.16.0rc1 (#562) #54
Workflow file for this run
This file contains 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 Artifacts | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
wheel-build: | |
name: Build and Publish Release Artifacts | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'Qiskit' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
name: Install Python | |
with: | |
python-version: '3.8' | |
- name: Install Deps | |
run: pip install -U twine build | |
- name: Build Artifacts | |
run: | | |
python -m build | |
shell: bash | |
- uses: actions/upload-artifact@v3 | |
with: | |
path: ./dist/qiskit* | |
- name: Publish to PyPi | |
env: | |
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} | |
TWINE_USERNAME: qiskit | |
run: twine upload dist/qiskit* |