We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d59112 commit 141ec0dCopy full SHA for 141ec0d
1 file changed
.github/workflows/publish.yml
@@ -7,19 +7,15 @@ on:
7
8
jobs:
9
pypi:
10
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-22.04
11
name: Publish package on PyPI
12
steps:
13
- - uses: actions/checkout@master
14
- - uses: actions/setup-python@v1
+ - uses: actions/checkout@v3
+ - uses: actions/setup-python@v3
15
with:
16
- python-version: 3.7
17
- architecture: x64
18
- - name: Install build dependencies
19
- run: pip install wheel
20
- - name: Build packages
21
- run: python setup.py sdist bdist_wheel
22
- - name: Publish a Python distribution to PyPI
23
- uses: pypa/gh-action-pypi-publish@master
+ python-version: 3.10
+ - run: pip install build setuptools wheel
+ - run: python -m build --sdist --wheel --no-isolation
+ - uses: pypa/gh-action-pypi-publish@release/v1
24
25
password: ${{ secrets.PYPI_TOKEN }}
0 commit comments