Merge pull request #199 from Atem18/dependabot/pip/anyio-4.0.0 #206
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 Python 🐍 distributions 📦 to TestPyPI | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-n-publish: | |
name: Build and publish Python 🐍 distributions 📦 to TestPyPI | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Install build dependencies | |
run: pip install -r requirements/build-requirements.txt | |
- name: Build package | |
run: hatch build | |
- name: Publish distribution 📦 to Test PyPI | |
uses: pypa/[email protected] | |
with: | |
password: ${{ secrets.test_pypi_password }} | |
repository_url: https://test.pypi.org/legacy/ | |
skip_existing: true |