v0.3.6 Release Candidate 1 #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to PyPi.org | |
on: | |
release: | |
types: [published] | |
env: | |
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | |
jobs: | |
publish_to_pypi: | |
name: Publish to PyPi | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install PDM | |
run: | | |
python3 -m pip install pdm | |
- name: Publish | |
run: | | |
pdm config repository.pypi.username "__token__" | |
pdm config repository.pypi.password "${PYPI_TOKEN}" | |
pdm publish |