Skip to content

Merge pull request #175 from britive/v2.0.1 #71

Merge pull request #175 from britive/v2.0.1

Merge pull request #175 from britive/v2.0.1 #71

# This workflow will upload to Test PyPi a Python Package using Twine when a push to develop branch occurs
name: Upload Python Package to Test PyPi
on:
push:
branches:
- develop
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_TEST_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/