Skip to content

Commit

Permalink
CI improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
sasha0552 authored Sep 4, 2024
1 parent c7f8800 commit 7c1fbe0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ jobs:
url: https://pypi.org/project/nvidia-pstate

permissions:
attestations: write
id-token: write

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.x"

- name: Install dependencies
run: pip install build
- name: Build wheels
run: pipx run build

- name: Build package
run: python -m build
- name: Attest build provenance
uses: actions/attest-build-provenance@v1
with:
subject-path: dist/*

- name: Publish package
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ requires = [
[project]
description = "A library and CLI utilities for managing performance states of NVIDIA GPUs."
name = "nvidia_pstate"
version = "1.0.5.post1"
version = "1.0.5.post2"
readme = "README.md"

authors = [
Expand Down

0 comments on commit 7c1fbe0

Please sign in to comment.