Skip to content

Commit b0f9887

Browse files
committed
build: update GitHub workflow
1 parent d9b2f97 commit b0f9887

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ on:
88
jobs:
99
build-and-publish:
1010
name: "Publish Python distribution to PyPI"
11-
runs-on: ubuntu-20.04
12-
11+
runs-on: ubuntu-24.04
12+
1313
steps:
1414
- uses: actions/checkout@master
15-
- name: Set up Python 3.8
16-
uses: actions/setup-python@v1
15+
- name: Set up Python 3.12
16+
uses: actions/setup-python@v6
1717
with:
18-
python-version: 3.8
19-
18+
python-version: 3.12
19+
2020
- name: "Build Python package"
2121
run: |
2222
python3 -m pip install --user --upgrade setuptools wheel
2323
python3 setup.py sdist bdist_wheel
2424
2525
- name: Publish distribution to PyPI
26-
uses: pypa/gh-action-pypi-publish@master
26+
uses: pypa/gh-action-pypi-publish@v1
2727
with:
2828
password: ${{ secrets.pypi_password }}

0 commit comments

Comments
 (0)