Skip to content

Merge branch 'master' of https://github.com/Jhsmit/PyHDX #339

Merge branch 'master' of https://github.com/Jhsmit/PyHDX

Merge branch 'master' of https://github.com/Jhsmit/PyHDX #339

Workflow file for this run

name: PyPi distribute test push
on: [push]
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install Hatch
run: pip install hatch
- name: Build
run: hatch build
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/