Skip to content

Merge pull request #439 from jabesq/pre-commit-ci-update-config #330

Merge pull request #439 from jabesq/pre-commit-ci-update-config

Merge pull request #439 from jabesq/pre-commit-ci-update-config #330

name: Publish 📦 to TestPyPI
on:
push:
branches:
- development
- master
jobs:
build-n-publish:
name: Build and publish 📦 to TestPyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: development
fetch-depth: 0
- name: Set up Python 3.8
uses: actions/setup-python@v4.7.0
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel build
- name: Build a binary wheel and a source tarball
run: >-
python -m build .
- name: Publish 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TEST_TOKEN }}
repository_url: https://test.pypi.org/legacy/