Skip to content

updates for the notebook runner #70

updates for the notebook runner

updates for the notebook runner #70

Workflow file for this run

name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI
on: push
jobs:
snowconvert-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install -r requirements.txt
- name: Build package
run: |
python -m build
- name: Publish 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@v1.5.1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
packages_dir: dist