File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*.*.*'
7+
8+ jobs :
9+ release :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout code
13+ uses : actions/checkout@v4
14+
15+ - name : Set up Python
16+ uses : actions/setup-python@v5
17+ with :
18+ python-version : ' 3.10'
19+
20+ - name : Install uv
21+ uses : astral-sh/setup-uv@v7
22+ with :
23+ python-version : ' 3.10'
24+ enable-cache : true
25+ cache-suffix : release
26+ activate-environment : true
27+
28+ - name : Install dependencies
29+ run : |
30+ uv pip install build twine
31+
32+ - name : Build package
33+ run : python -m build
34+
35+ - name : Publish package to PyPI
36+ env :
37+ TWINE_USERNAME : __token__
38+ TWINE_PASSWORD : ${{ secrets.PYPI_TOKEN }}
39+ run : python -m twine upload dist/*
Original file line number Diff line number Diff line change 11[project ]
22name = " auto-cast"
3- version = " 0.1.0 "
3+ version = " 0.0.1 "
44description = " Spatiotemporal forecasting"
55readme = " README.md"
66authors = [
You can’t perform that action at this time.
0 commit comments