We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60f31cd commit 1542f05Copy full SHA for 1542f05
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,28 @@
1
+name: Publish
2
+
3
+on: [workflow_dispatch]
4
5
+env:
6
+ UV_SYSTEM_PYTHON: 1
7
+ UV_PYTHON_DOWNLOADS: never
8
+ UV_PYTHON_PREFERENCE: only-system
9
10
+jobs:
11
+ publish:
12
+ name: Publish to PyPI
13
+ runs-on: ubuntu-latest
14
+ environment:
15
+ name: pypi
16
+ url: https://pypi.org/p/cconf
17
+ permissions:
18
+ id-token: write
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ - name: Set up Python
22
+ uses: actions/setup-python@v5
23
+ - name: Set up uv
24
+ uses: astral-sh/setup-uv@v3
25
+ - name: Build
26
+ run: uv build
27
+ - name: Publish
28
+ run: uv publish
0 commit comments