Skip to content

Commit 8073d8e

Browse files
committed
try add hatchling
1 parent adef294 commit 8073d8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
- name: Set up Python
1414
uses: actions/setup-python@v1
1515
with:
16-
python-version: '3.x'
16+
python-version: '3.12'
1717
- name: Install dependencies
1818
env:
1919
DEBIAN_FRONTEND: noninteractive
2020
run: |
2121
sudo apt-get update -y -qq
2222
sudo apt-get install -y -qq libicu-dev
23-
pip install --upgrade pip setuptools setuptools_scm wheel build twine pyicu
23+
pip install --upgrade pip wheel build twine pyicu hatchling
2424
pip install -e ".[dev]"
2525
- name: Validate mypy typing
2626
run: |
@@ -30,7 +30,7 @@ jobs:
3030
make test
3131
- name: Build a distribution
3232
run: |
33-
python -m build -nwsx
33+
python3 -m build --wheel
3434
- name: Publish a Python distribution to PyPI
3535
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
3636
uses: pypa/gh-action-pypi-publish@master

0 commit comments

Comments
 (0)