File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8686 uses : python-semantic-release/python-semantic-release@v10.4.1
8787 with :
8888 github_token : ${{ secrets.GITHUB_TOKEN }}
89- - name : Upload built distributions
90- if : steps.semantic-release.outputs.released == 'true'
91- uses : actions/upload-artifact@v4
92- with :
93- name : python-package
94- path : dist/*
9589
9690 publish-package :
9791 if : needs.release.outputs.released == 'true'
@@ -101,15 +95,18 @@ jobs:
10195 contents : read
10296 packages : write
10397 steps :
98+ - uses : actions/checkout@v4
99+ with :
100+ ref : ${{ needs.release.outputs.commit_sha }}
101+ - uses : astral-sh/setup-uv@v6
104102 - name : Set up Python
105103 uses : actions/setup-python@v5
106104 with :
107105 python-version : " 3.14"
108- - name : Download built distributions
109- uses : actions/download-artifact@v4
110- with :
111- name : python-package
112- path : dist
106+ - name : Install dependencies
107+ run : uv sync --python 3.14 --locked
108+ - name : Build package
109+ run : uv build
113110 - name : Install Twine
114111 run : python -m pip install --upgrade twine
115112 - name : Publish package
Original file line number Diff line number Diff line change @@ -51,10 +51,6 @@ dev = [
5151]
5252
5353[tool .semantic_release ]
54- build_command = """
55- uv build
56- uv run --python 3.14 mkdocs build --strict
57- """
5854commit_message = " chore(release): v{version}"
5955commit_parser = " conventional"
6056tag_format = " v{version}"
You can’t perform that action at this time.
0 commit comments