Skip to content

Version 5.5.1

Version 5.5.1 #143

Workflow file for this run

name: Deploy to PyPI
on:
workflow_dispatch:
release:
types:
- published
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build_dist:
name: Build and upload sdist and wheel
if: github.repository_owner == 'scikit-hep'
uses: ./.github/workflows/build-distributions.yml
publish:
needs: [build_dist]
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
permissions:
id-token: write
attestations: write
contents: read
steps:
- uses: actions/download-artifact@v4
with:
name: distribution-artifact
path: dist
- name: List distributions to be deployed
run: ls -lha dist/
- name: Generate artifact attestation for sdist and wheel
uses: actions/attest-build-provenance@ef244123eb79f2f7a7e75d99086184180e6d0018 # v1.4.4
with:
subject-path: dist/uproot-*
- uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.pypi_password }}