There was an error while loading. Please reload this page.
1 parent 4b5bd00 commit a2fcb3fCopy full SHA for a2fcb3f
1 file changed
.github/workflows/pypi-release.yml
@@ -9,19 +9,18 @@ jobs:
9
name: Build and publish library to PyPI
10
runs-on: ubuntu-22.04
11
steps:
12
- - uses: actions/checkout@master
+ - uses: actions/checkout@v4
13
- name: Set up Python
14
- uses: actions/setup-python@v1
+ uses: actions/setup-python@v5
15
with:
16
python-version: 3.9
17
- name: Install pypa/build
18
run: python -m pip install build --user
19
- name: Build a binary wheel and a source tarball
20
run: python -m build --sdist --wheel --outdir dist/
21
- .
22
- name: Publish distribution to PyPI
23
if: startsWith(github.ref, 'refs/tags')
24
- uses: pypa/gh-action-pypi-publish@master
+ uses: pypa/gh-action-pypi-publish@release/v1
25
26
password: ${{ secrets.PYPI_API_TOKEN }}
27
0 commit comments