File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,21 +13,26 @@ jobs:
1313 name : ' Build & publish package to PyPI'
1414 runs-on : ' ubuntu-latest'
1515 steps :
16- - uses : actions/checkout@v6
16+
17+ - name : Acquire source code
18+ uses : actions/checkout@v6
1719 with :
1820 fetch-depth : 0
1921 fetch-tags : true
2022 persist-credentials : false
2123
22- - name : Set up uv
24+ - name : Install uv
2325 uses : astral-sh/setup-uv@v7
2426 with :
2527 activate-environment : true
2628 enable-cache : true
2729 python-version : " 3.14"
2830
29- - name : Set up Hatch and Twine
30- run : uv pip install hatch twine
31+ - name : Install Hatch
32+ uses : pypa/hatch@install
33+
34+ - name : Install Twine
35+ run : uv pip install twine
3136
3237 - name : Build package
3338 run : hatch build
Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" hatch " , " versioningit" ]
2+ requires = [" hatchling " , " versioningit" ]
33build-backend = " hatchling.build"
44
55[tool .hatch .build .targets .sdist ]
You can’t perform that action at this time.
0 commit comments