Bump version to 0.2.5 #53
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: Deploy | |
on: | |
push: | |
tags: release_[0-9]+.[0-9]+.[0-9]+* | |
jobs: | |
deploy_manylinux: | |
runs-on: ubuntu-latest | |
container: quay.io/pypa/manylinux2014_x86_64 | |
strategy: | |
matrix: | |
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
path: htseq | |
- name: Move repo folder | |
run: | |
mv htseq /io | |
- name: Prepare docker image (remove other Python versions) | |
run: | |
/io/prepare_docker.sh | |
- name: Build wheels | |
env: | |
PYTHON_VERSION: ${{ matrix.python-version }} | |
run: | |
/io/buildwheels.sh | |
- name: Deploy source and manylinux wheels | |
env: | |
PYTHON_VERSION: ${{ matrix.python-version }} | |
SOURCE_VERSION: 3.7 | |
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | |
TWINE_PASSWORD_PYPI: ${{ secrets.PYPI_PASSWORD }} | |
TWINE_PASSWORD_TESTPYPI: ${{ secrets.TESTPYPI_PASSWORD }} | |
run: | |
/io/deploywheels.sh | |
- name: Install deployed wheels | |
env: | |
PYTHON_VERSION: ${{ matrix.python-version }} | |
run: | |
/io/installwheels.sh | |
deploy_mac: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
env: | |
OS_NAME: macos-latest | |
CONDA_PY: ${{ matrix.python-version }} | |
run: ./.ci_deps.sh | |
- name: Build wheel and publish | |
env: | |
OS_NAME: macos-latest | |
CONDA_PY: ${{ matrix.python-version }} | |
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | |
TWINE_PASSWORD_PYPI: ${{ secrets.PYPI_PASSWORD }} | |
TWINE_PASSWORD_TESTPYPI: ${{ secrets.TESTPYPI_PASSWORD }} | |
run: | | |
./.ci_deploy.sh | |
- name: Install deployed wheels | |
env: | |
OS_NAME: macos-latest | |
CONDA_PY: ${{ matrix.python-version }} | |
run: | | |
./.ci_postdeploy_install.sh |