v2.0.2 #7
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: Deploy | |
on: | |
release: | |
types: [created] | |
jobs: | |
deploypypi: | |
name: Deploy to PyPI | |
runs-on: ubuntu-latest | |
env: | |
PREFIX: /usr | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
- name: Install dependencies | |
run: | | |
git clone https://github.com/pylover/python-makelib.git make | |
make install-common editable-install | |
- name: Create distributions | |
run: make dist | |
- name: Publish a Python distribution to PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1.9 | |
with: | |
user: __token__ | |
password: ${{ secrets.PYPI_TOKEN }} |