Skip to content

[pre-commit.ci] pre-commit autoupdate #257

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #257

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
- main
- develop
release:
types:
- published
jobs:
dist:
name: Distribution build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build sdist and wheel
run: pipx run build
- uses: actions/upload-artifact@v2
with:
path: dist
- name: Check products
run: pipx run twine check dist/*
- uses: pypa/[email protected]
if: github.event_name == 'release' && github.event.action == 'published'
with:
user: __token__
# Remember to generate this and set it in "GitHub Secrets"
password: ${{ secrets.pypi_password }}