Skip to content

Merge pull request #641 from staticdev/dependabot/pip/docs/furo-2023.… #23

Merge pull request #641 from staticdev/dependabot/pip/docs/furo-2023.…

Merge pull request #641 from staticdev/dependabot/pip/docs/furo-2023.… #23

Workflow file for this run

name: Release Dev
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Upgrade pip
run: |
pip install --constraint=.github/workflows/constraints.txt pip
pip --version
- name: Install Hatch
run: |
pip install --constraint=.github/workflows/hatch-constraints.txt hatch
hatch --version
- name: Build package
run: |
hatch build
- name: Publish package on TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.TEST_PYPI_TOKEN }}
repository_url: https://test.pypi.org/legacy/