Skip to content

chore: release 0.8.5 #31

chore: release 0.8.5

chore: release 0.8.5 #31

name: release-please
on:
push:
branches:
- master
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
id: release
with:
release-type: python
package-name: snakefmt
- uses: actions/checkout@v2
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-python@v2
if: ${{ steps.release.outputs.release_created }}
with:
python-version: "3.7"
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: 1.3.1
- name: Install dependencies
if: ${{ steps.release.outputs.release_created }}
run: make install-ci
- name: Build a binary wheel and a source tarball
if: ${{ steps.release.outputs.release_created }}
run: make build
- name: Publish to PyPI
if: ${{ steps.release.outputs.release_created }}
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}