Skip to content

Commit a2fcb3f

Browse files
committed
Update CI
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
1 parent 4b5bd00 commit a2fcb3f

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/pypi-release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,18 @@ jobs:
99
name: Build and publish library to PyPI
1010
runs-on: ubuntu-22.04
1111
steps:
12-
- uses: actions/checkout@master
12+
- uses: actions/checkout@v4
1313
- name: Set up Python
14-
uses: actions/setup-python@v1
14+
uses: actions/setup-python@v5
1515
with:
1616
python-version: 3.9
1717
- name: Install pypa/build
1818
run: python -m pip install build --user
1919
- name: Build a binary wheel and a source tarball
2020
run: python -m build --sdist --wheel --outdir dist/
21-
.
2221
- name: Publish distribution to PyPI
2322
if: startsWith(github.ref, 'refs/tags')
24-
uses: pypa/gh-action-pypi-publish@master
23+
uses: pypa/gh-action-pypi-publish@release/v1
2524
with:
2625
password: ${{ secrets.PYPI_API_TOKEN }}
2726

0 commit comments

Comments
 (0)