File tree Expand file tree Collapse file tree 1 file changed +15
-17
lines changed Expand file tree Collapse file tree 1 file changed +15
-17
lines changed Original file line number Diff line number Diff line change @@ -76,27 +76,25 @@ jobs:
76
76
- name : Checkout
77
77
uses : actions/checkout@v4
78
78
79
- - name : Setup Python
80
- uses : actions/setup-python@v5
79
+ - id : install-uv
80
+ name : Install uv
81
+ uses : astral-sh/setup-uv@v6
81
82
with :
82
- python-version : ' 3.11'
83
-
84
- - name : Install uv
85
- run : pip install uv
83
+ version : " latest"
84
+ enable-cache : true
85
+ cache-dependency-glob : ' **/pyproject.toml'
86
86
87
- - name : Install Python dependencies
88
- run : uv pip install -e ".[dev]"
89
-
90
- - name : Build release
91
- run : |
92
- uv pip install build
93
- python -m build
94
- ls -l dist
87
+ - id : install-python
88
+ name : Install Python
89
+ run : uv python install 3.13
95
90
96
- - name : Check release
97
- run : uv pip install twine && twine check dist/*
91
+ - id : build
92
+ name : Build releases
93
+ run : uv build --sdist --wheel
94
+ shell : bash
98
95
99
- - name : Save artifact
96
+ - id : save
97
+ name : Save artifact
100
98
uses : actions/upload-artifact@v4
101
99
with :
102
100
name : release-candidate
You can’t perform that action at this time.
0 commit comments