Skip to content

Test updated delivery tooling #1

Test updated delivery tooling

Test updated delivery tooling #1

Workflow file for this run

name: Publish
on:
release:
types: [published]
jobs:
build-and-publish:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/python-jsonstore
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Build package
run: |
python -m pip install --upgrade pip build
python -m build
# the publishing uses PyPI's trusted publishing, so configured on pypi instead of using secrets
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')