Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Upload Python Package #4

Upload Python Package

Upload Python Package #4

Workflow file for this run

name: Upload Python Package
on:
release:
types: [published]
permissions:
contents: read
jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/libpbskids-dl
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
python-version: '3.11'
- name: Create Package
shell: bash
run: |
pip install build
python3 -m build
- name: Publish package distributions to PyPI
uses: pypa/[email protected]