Skip to content

Commit

Permalink
Add missing sdist release job (#998)
Browse files Browse the repository at this point in the history
In the recent aer 0.7.0 release we noticed that in the migration of CI
jobs to github actions in #881 the job to create and publish and sdist
at release time was lost. This commit corrects this and adds a new job
to create and publish to pypi the qiskit-aer sdist at release time.
  • Loading branch information
mtreinish authored Oct 20, 2020
1 parent f715703 commit cb5f414
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,29 @@ jobs:
run : |
pip install -U twine
twine upload wheelhouse/*
sdist:
name: Publish qiskit-aer sdist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
name: Install Python
with:
python-version: '3.8'
- name: Install Deps
run: pip install -U twine wheel
- name: Build Artifacts
run: |
python setup.py sdist
shell: bash
- uses: actions/upload-artifact@v2
with:
path: ./dist/qiskit*
- name: Publish to PyPi
env:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
TWINE_USERNAME: qiskit
run: twine upload dist/qiskit*
gpu-build:
name: Build qiskit-aer-gpu wheels
runs-on: ubuntu-latest
Expand Down

0 comments on commit cb5f414

Please sign in to comment.