Skip to content

Commit e08d210

Browse files
authored
Fix release workflow (#134)
2 parents f02d1ac + 8154f50 commit e08d210

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ jobs:
1818
- name: Set up Python
1919
uses: actions/setup-python@v4
2020
with:
21-
python-version: 3.8
21+
python-version: 3.11
2222

2323
- name: Install dependencies
2424
run: |
2525
python -m pip install -U pip
26-
python -m pip install -U setuptools twine wheel
26+
python -m pip install -U build setuptools setuptools-scm twine
2727
2828
- name: Build package
2929
run: |
30-
python setup.py --version
31-
python setup.py sdist --format=gztar bdist_wheel
32-
twine check dist/*
30+
python -m setuptools_scm
31+
python -m build
32+
twine check --strict dist/*
3333
3434
- name: Upload packages to Jazzband
3535
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')

0 commit comments

Comments
 (0)