Skip to content

combine workflows

combine workflows #4

Workflow file for this run

name: Publish Python 🐍 distributions 📦 to PyPI
on:
push:
tags:
- "*"
jobs:
tests:
uses: ./.github/workflows/ci.yml
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
needs: [tests]
# environment:
# name: pypi
# url: https://pypi.org/p/scrapework
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
# retrieve your distributions here
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1