Skip to content

Commit

Permalink
ci: update
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed Jun 4, 2024
1 parent 07e1826 commit 3224163
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.11"]
python-version: ["3.7", "3.12"]
runs-on: [ubuntu-latest, macos-13, windows-latest]

include:
Expand Down Expand Up @@ -73,22 +73,16 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: hynek/build-and-inspect-python-package@v2

- name: Build sdist and wheel
run: pipx run build

- uses: actions/upload-artifact@v4
with:
path: dist

- name: Check products
run: pipx run twine check dist/*

publish:
name: Publish
environment: pypi
permissions:
id-token: write
attestations: write
contents: read
needs: [dist]
if: github.event_name == 'release' && github.event.action == 'published'
runs-on: ubuntu-latest
Expand All @@ -97,6 +91,11 @@ jobs:
- uses: actions/download-artifact@v4
with:
path: dist
name: artifact
name: Packages

- name: Generate artifact attestation for sdist and wheel
uses: actions/attest-build-provenance@173725a1209d09b31f9d30a3890cf2757ebbff0d # v1.1.2
with:
subject-path: "dist/uproot_browser-*"

- uses: pypa/gh-action-pypi-publish@release/v1
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Development Status :: 4 - Beta",
"Typing :: Typed",
]
Expand Down

0 comments on commit 3224163

Please sign in to comment.