v3.0.0 #1
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@5 | |
- name: Install dependencies | |
run: | | |
git clone https://github.com/pylover/python-makelib.git make | |
make env ENV=ci | |
- 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 }} |