Skip to content

Skip failing test for now #16

Skip failing test for now

Skip failing test for now #16

Workflow file for this run

name: Publish Python distributions to PyPI
on:
push:
tags:
- "v*"
jobs:
build-n-publish:
name: Build and publish Python distributions to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install wheel
python -m pip install .
- name: Build a binary wheel and a source tarball
run: |
python setup.py bdist_wheel
python setup.py sdist
- name: Publish distribution to PyPI
if: startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_token }}
- name: Read CHANGELOG.md
id: changelog
env:
GITHUB_REF: ${{ github.ref }}
run: |
echo "body=$(python .github/workflows/extract_changes.py)" >>$GITHUB_OUTPUT
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: ${{ steps.changelog.outputs.body }}
draft: false
prerelease: false