Skip to content

Workflow file for this run

name: publish python package to test-pypi
on:
release:
types: [published]
jobs:
build-n-publish:
name: Build project and publish to TestPyPI
runs-on: ubuntu-20.04
strategy:
matrix:
python: [3.9]
spark: [3.2.1]
steps:
- name: checkout code
uses: actions/checkout@v2
- name: build scala
uses: ./.github/actions/scala_build
- name: build python
uses: ./.github/actions/python_build
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.LABS_PYPI_TOKEN }}
packages_dir: python/dist/