Release Artifacts #16
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 | |
environment: release | |
permissions: | |
id-token: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
name: Install Python | |
with: | |
python-version: '3.10' | |
- name: Install Deps | |
run: pip install -U wheel | |
- name: Build Artifacts | |
run: | | |
python setup.py sdist | |
python setup.py bdist_wheel | |
shell: bash | |
- uses: actions/upload-artifact@v3 | |
with: | |
path: ./dist/qiskit* | |
- name: Publish to PyPi | |
uses: pypa/gh-action-pypi-publish@release/v1 |