Skip to content

Publish to PyPI

Publish to PyPI #28

Workflow file for this run

name: Publish to PyPI
on:
release:
types: [edited]
jobs:
pypi:
runs-on: ubuntu-latest
steps:
- name: Fetch Package
uses: dsaltares/[email protected]
with:
version: ${{ github.event.release.id }}
file: 'package.zip'
token: ${{ secrets.GITHUB_TOKEN }}
- name: Unpack Package
run: unzip package.zip
- name: Publish Package
uses: pypa/[email protected]
with:
repository_url: https://test.pypi.org/
password: ${{ secrets.TEST_PYPI_API_TOKEN }}