Skip to content

ci(container): update to docker/login-action@v3 #14

ci(container): update to docker/login-action@v3

ci(container): update to docker/login-action@v3 #14

Workflow file for this run

name: Publish package to PyPI
on:
push:
tags:
- "v*"
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: python -m pip install --upgrade pip wheel build
- name: Build the package
run: python -m build
- name: Publish the package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}