Auto-generated summary: #26
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
# this file is *not* meant to cover or endorse the use of GitHub Actions, but rather to | |
# help make automated releases for this project | |
name: workflow | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install build dependencies | |
run: python -m pip install -U setuptools wheel build | |
- name: Build | |
run: python -m build . | |
- name: Publish | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
user: Talbot3 | |
password: ${{ secrets.PYPI_PASSWORD }} | |
- name: Update mirror | |
run: pip install -i https://mirrors.aliyun.com/pypi/simple/ pdf-regenerator |