Skip to content

Commit 6fb9d4e

Browse files
committed
fix: publish_pypi - Set ubuntu to 24.04 and python to 3.13
Replacing tag `latest` with `24.04` ensures release procees will not break again when certain python version is not present in latest ubuntu version. Same applies for stable versions for actions/checkout and actions/setup-python.
1 parent db1e283 commit 6fb9d4e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish_pypi.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ on:
88

99
jobs:
1010
build_and_upload:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-24.04
1212
steps:
13-
- uses: actions/checkout@master
14-
- name: Set up Python 3.7
15-
uses: actions/setup-python@master
13+
- uses: actions/checkout@v4
14+
- name: Set up Python 3.13
15+
uses: actions/setup-python@v5
1616
with:
17-
python-version: '3.7'
17+
python-version: '3.13'
1818
- name: Install dependencies
1919
run: |
2020
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)