Skip to content

update python and pyspark (#11) #12

update python and pyspark (#11)

update python and pyspark (#11) #12

Workflow file for this run

name: Pypi publish
on:
push:
branches:
- main
jobs:
build-n-publish:
name: Build and publish Python distributions to PyPI
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Check out code
uses: actions/checkout@v2
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install poetry
run: pip install poetry==1.7.1
- name: Install dependencies
run: poetry install --no-root
- name: Build package
run: python3 -m build
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}