Skip to content

Merge pull request #15 from pomponchik/develop #2

Merge pull request #15 from pomponchik/develop

Merge pull request #15 from pomponchik/develop #2

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
# Specifying a GitHub environment is optional, but strongly encouraged
environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
shell: bash
run: pip install -r requirements_dev.txt
- name: Build the project
shell: bash
run: python -m build .
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1