Skip to content

Add build targets: Python 3.9, 3.10 #28

Add build targets: Python 3.9, 3.10

Add build targets: Python 3.9, 3.10 #28

Workflow file for this run

name: "pre-release"
on:
push:
branches:
- "master"
tags: "*"
jobs:
pypi-publish:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ['3.6', '3.7', '3.8', '3.9']
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Maturin publish
env:
MATURIN_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python -m pip install --upgrade pip maturin
maturin publish -i python${{ matrix.python-version }} -u "__token__" --cargo-extra-args="--features python-module"
crates-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v1
with:
registry-token: ${{ secrets.CRATES_API_TOKEN }}
pre-release:
name: "Pre Release"
runs-on: ubuntu-latest
steps:
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
LICENSE.txt
target/wheels/*.whl
release.tar.gz
name: Releases