File tree Expand file tree Collapse file tree 3 files changed +405
-486
lines changed Expand file tree Collapse file tree 3 files changed +405
-486
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ name: Publish distributions to PyPI or TestPyPI
33# TestPyPI upload is scheduled in each weekday.
44# PyPI upload is only activated if the release is published.
55on :
6- # schedule:
7- # - cron: '0 15 * * SUN-THU'
6+ schedule :
7+ - cron : ' 0 15 * * SUN-THU'
88 release :
99 types :
1010 - published
3131 with :
3232 version : " latest"
3333
34+ - name : Setup venv
35+ run : uv venv
36+
3437 - name : Install twine
3538 run : |
3639 uv pip install twine wheel build
Original file line number Diff line number Diff line change @@ -58,6 +58,16 @@ include = ["optuna_mcp*"]
5858 " py.typed" ,
5959]
6060
61+ [[tool .uv .index ]]
62+ name = " pytorch-cpu"
63+ url = " https://download.pytorch.org/whl/cpu"
64+ explicit = true
65+
66+ [tool .uv .sources ]
67+ torch = [
68+ { index = " pytorch-cpu" },
69+ ]
70+
6171[tool .ruff ]
6272line-length = 99
6373target-version = " py312"
You can’t perform that action at this time.
0 commit comments