Skip to content

Commit 5e7ef7c

Browse files
committed
Modernize ci publish job
1 parent 7df9676 commit 5e7ef7c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,10 @@ jobs:
3939
steps:
4040
- uses: actions/checkout@v2
4141
- uses: actions/setup-python@v2
42-
- name: Install pypa/build
43-
run: python -m pip install build
4442
- name: Build a binary wheel and a source tarball
45-
run: python -m build
43+
run: pipx run build
4644
- name: Publish distribution 📦 to PyPI
47-
uses: pypa/gh-action-pypi-publish@master
45+
uses: pypa/gh-action-pypi-publish@release/v1
4846
with:
4947
user: __token__
5048
password: ${{ secrets.pypi_token }}

0 commit comments

Comments
 (0)