Skip to content

v2.0.3

v2.0.3 #36

Workflow file for this run

name: ReleaseCI
on:
release:
push:
tags:
- "*"
jobs:
build-n-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.7]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
- uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
architecture: 'x64'
- name: Install Maturin
run: |
pip install .
pip install maturin twine wheel
- name: Rust - Build & Publish
env:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
maturin build --release --out wheels
twine upload -u milesg --skip-existing wheels/*
- name: Python - Build & Publish
env:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
python setup.py sdist
python setup.py bdist_wheel
twine upload -u milesg --skip-existing dist/*