Skip to content

Commit 242bfc2

Browse files
committed
Update package name and action to use uv
1 parent 19e0fe2 commit 242bfc2

File tree

3 files changed

+75
-73
lines changed

3 files changed

+75
-73
lines changed

.github/workflows/python-publish.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,26 @@ permissions:
1818
jobs:
1919
deploy:
2020
runs-on: ubuntu-latest
21-
22-
environment: production
2321
permissions:
2422
# IMPORTANT: this permission is mandatory for trusted publishing
2523
id-token: write
24+
environment:
25+
name: pypi
26+
# OPTIONAL: uncomment and update to include your PyPI project URL in the deployment status:
27+
url: https://pypi.org/p/simplyprint-duet3d/
28+
#
29+
# ALTERNATIVE: if your GitHub Release name is the PyPI project version string
30+
# ALTERNATIVE: exactly, uncomment the following line instead:
31+
# url: https://pypi.org/project/YOURPROJECT/${{ github.event.release.name }}
2632

2733
steps:
2834
- uses: actions/checkout@v4
29-
- name: Set up Python
30-
uses: actions/setup-python@v3
35+
- name: Install uv
36+
uses: astral-sh/setup-uv@v5
3137
with:
3238
python-version: '3.x'
33-
- name: Install dependencies
34-
run: |
35-
python -m pip install --upgrade pip
36-
pip install build
3739
- name: Build package
38-
run: python -m build
40+
run: uv build
3941
- name: Publish package
4042
uses: pypa/gh-action-pypi-publish@release/v1
4143

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "integration-duet3d"
2+
name = "simplyprint-duet3d"
33
version = "1.3.4"
44
description = "SimplyPrint integration with any Duet3D powered RepRapFirmware printers "
55
readme = "README.rst"

uv.lock

Lines changed: 63 additions & 63 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)