File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -73,22 +73,16 @@ jobs:
73
73
74
74
steps :
75
75
- uses : actions/checkout@v4
76
+ - uses : hynek/build-and-inspect-python-package@v2
76
77
77
- - name : Build sdist and wheel
78
- run : pipx run build
79
-
80
- - uses : actions/upload-artifact@v4
81
- with :
82
- path : dist
83
-
84
- - name : Check products
85
- run : pipx run twine check dist/*
86
78
87
79
publish :
88
80
name : Publish
89
81
environment : pypi
90
82
permissions :
91
83
id-token : write
84
+ attestations : write
85
+ contents : read
92
86
needs : [dist]
93
87
if : github.event_name == 'release' && github.event.action == 'published'
94
88
runs-on : ubuntu-latest
97
91
- uses : actions/download-artifact@v4
98
92
with :
99
93
path : dist
100
- name : artifact
94
+ name : Packages
95
+
96
+ - name : Generate artifact attestation for sdist and wheel
97
+ uses : actions/attest-build-provenance@173725a1209d09b31f9d30a3890cf2757ebbff0d # v1.1.2
98
+ with :
99
+ subject-path : " dist/uproot_browser-*"
101
100
102
101
- uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ classifiers = [
31
31
" Programming Language :: Python :: 3.9" ,
32
32
" Programming Language :: Python :: 3.10" ,
33
33
" Programming Language :: Python :: 3.11" ,
34
+ " Programming Language :: Python :: 3.12" ,
34
35
" Development Status :: 4 - Beta" ,
35
36
" Typing :: Typed" ,
36
37
]
You can’t perform that action at this time.
0 commit comments