Skip to content

Auto commit version 1.1.20 - 31 Jan 2024 #35

Auto commit version 1.1.20 - 31 Jan 2024

Auto commit version 1.1.20 - 31 Jan 2024 #35

Workflow file for this run

name: PyPI deploy
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
if: "startsWith(github.event.head_commit.message, 'Auto commit')"
environment: release
permissions:
id-token: write # mandatory for trusted publishing
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Build a wheel and a source tarball
run: |
python -m pip install --user build
python -m build --wheel --sdist --outdir dist/
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1