Skip to content

Release v0.19.3

Release v0.19.3 #110

Workflow file for this run

name: Build and Release
on:
push:
tags:
- "v*"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install Poetry
run: pip install poetry
- name: Install dependencies
run: poetry install
- name: Build wheel
run: poetry build -f wheel
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: wheel-${{ matrix.os }}
path: dist/*.whl
publish:
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install Poetry
run: pip install poetry
- name: Install dependencies
run: poetry install
- name: Build sdist
run: poetry build -f sdist
- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: wheel-ubuntu-latest
path: dist
- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: wheel-macos-latest
path: dist
- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: wheel-windows-latest
path: dist
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_PASSWORD }}