Skip to content

Commit 4672186

Browse files
committed
more updates
1 parent c2e2752 commit 4672186

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/check-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Install dependencies
1515
run: |
1616
python -m pip install --upgrade pip
17-
pip install -U setuptools setuptools_scm wheel twine
17+
python -m pip install -U setuptools setuptools_scm wheel twine
1818
- name: Build and check
1919
run: |
2020
python setup.py sdist bdist_wheel

.github/workflows/publish-to-pypi.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
- name: Install dependencies
2020
run: |
2121
python -m pip install --upgrade pip
22-
python -m pip install build --user
23-
python -m pip install twine
22+
python -m pip install -U setuptools setuptools_scm wheel twine
2423
- name: Build and check source tarball
25-
run: |
26-
python -m build --sdist --outdir dist/ .
24+
run: python setup.py sdist bdist_wheel
25+
- name: Twine check
26+
run: twine check dist/*
2727
- name: Publish distribution to PyPI
2828
if: startsWith(github.ref, 'refs/tags')
29-
uses: pypa/gh-action-pypi-publish@master
29+
uses: pypa/gh-action-pypi-publish@release/v1
3030
with:
3131
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)