Skip to content

Commit 14fa640

Browse files
Modernize build config
1 parent 8bf65d8 commit 14fa640

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,25 @@ jobs:
99
deploy:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v1
12+
- uses: actions/checkout@v4
1313

1414
- name: Set up Python
15-
uses: actions/setup-python@v1
15+
uses: actions/setup-python@v5
1616
with:
17-
python-version: 3.8
17+
python-version: 3.11
1818

1919
- name: Install dependencies
2020
run: |
2121
python -m pip install --upgrade pip
22-
pip install setuptools wheel twine
23-
pip install -r requirements.txt
22+
pip install build twine
23+
pip install -e .[dev]
2424
2525
- name: Build and publish
2626
env:
2727
TWINE_USERNAME: __token__
2828
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
2929
run: |
30-
python setup.py sdist bdist_wheel
30+
python -m build
3131
twine upload dist/*
3232
3333
- name: Create GitHub release

0 commit comments

Comments
 (0)