Skip to content

Merge pull request #801 from superannotateai/FRIDAY-4004 #61

Merge pull request #801 from superannotateai/FRIDAY-4004

Merge pull request #801 from superannotateai/FRIDAY-4004 #61

Workflow file for this run

name: Publish Python 🐍 distributions πŸ“¦ to TestPyPI
on:
push:
branches:
- develop
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions πŸ“¦ to TestPyPI
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Upgrade pip
run: >-
python -m
pip install
pip --upgrade
--user
- name: Install pypi/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
.
- name: Publish distribution πŸ“¦ to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
verbose: true