Skip to content

v0.12.1

v0.12.1 #22

Workflow file for this run

name: Upload to PyPI
on:
release:
types: [published]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
upload:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/superscreen
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: "Installs dependencies"
run: |
python -m pip install --upgrade pip build
python -m pip install setuptools wheel twine
- name: "Builds distribution"
run: |
python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1