Skip to content

Commit

Permalink
more updates
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishavlin committed Oct 13, 2022
1 parent c2e2752 commit 4672186
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U setuptools setuptools_scm wheel twine
python -m pip install -U setuptools setuptools_scm wheel twine
- name: Build and check
run: |
python setup.py sdist bdist_wheel
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install build --user
python -m pip install twine
python -m pip install -U setuptools setuptools_scm wheel twine
- name: Build and check source tarball
run: |
python -m build --sdist --outdir dist/ .
run: python setup.py sdist bdist_wheel
- name: Twine check
run: twine check dist/*
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 4672186

Please sign in to comment.