Skip to content

Version 5.5.0

Version 5.5.0 #142

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@1c608d11d69870c2092266b3f9a6f3abbf17002c # v1.4.3
with:
subject-path: dist/uproot-*
- uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.pypi_password }}