Skip to content

Speed up ion mobility #19

Speed up ion mobility

Speed up ion mobility #19

Workflow file for this run

name: Publish release
on:
push:
tags:
- 'v*'
jobs:
build:
name: Build wheels for ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019]
steps:
- uses: actions/checkout@v2
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_SKIP: "cp36-* cp37-* cp38-* cp312-* *-win32 *_i686 pp*"
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }}
path: "wheelhouse/*.whl"
publish:
name: Upload to PyPI
runs-on: ubuntu-20.04
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- run : |
pip install -r requirements.txt
python setup.py sdist
- name: Download artifacts
uses: actions/download-artifact@v3
- name: Move wheel files
run : |
ls -R
mv -v */*.whl dist/
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/*.whl
tag: ${{ github.ref }}
overwrite: false
file_glob: true
- name: Publish to PyPI
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN_BIOSAUR2 }}
verbose: true
print_hash: true
packages_dir: "dist"