Skip to content

Commit 49d6ceb

Browse files
committed
ci: Collect python313.dll from GHA runners
Update relevant dependency action API versions.
1 parent 871aa92 commit 49d6ceb

File tree

1 file changed

+16
-29
lines changed

1 file changed

+16
-29
lines changed

.github/workflows/dll.yml

Lines changed: 16 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -10,38 +10,25 @@ jobs:
1010
name: Collect pythonXY.dll
1111
runs-on: windows-latest
1212
steps:
13-
- uses: actions/setup-python@v4
14-
with:
15-
python-version: "pypy3.8"
16-
- uses: actions/setup-python@v4
17-
with:
18-
python-version: "pypy3.9"
19-
- uses: actions/setup-python@v4
20-
with:
21-
python-version: "pypy3.10"
22-
- uses: actions/setup-python@v4
23-
with:
24-
python-version: "3.7"
25-
- uses: actions/setup-python@v4
26-
with:
27-
python-version: "3.8"
28-
- uses: actions/setup-python@v4
29-
with:
30-
python-version: "3.9"
31-
- uses: actions/setup-python@v4
32-
with:
33-
python-version: "3.10"
34-
- uses: actions/setup-python@v4
35-
with:
36-
python-version: "3.11"
37-
- uses: actions/setup-python@v4
38-
with:
39-
python-version: "3.12-dev"
13+
- uses: actions/setup-python@v5
14+
with:
15+
python-version: |
16+
pypy3.8
17+
pypy3.9
18+
pypy3.10
19+
3.7
20+
3.8
21+
3.9
22+
3.10
23+
3.11
24+
3.12
25+
3.13
26+
allow-prereleases: true
4027
- name: Copy pythonXY.dll
4128
shell: bash
4229
run: |
4330
set -e
44-
for VER in 3.7 3.8 3.9 3.10 3.11 3.12; do
31+
for VER in 3.7 3.8 3.9 3.10 3.11 3.12 3.13; do
4532
VER_NUM=$(echo $VER | sed 's/\.//')
4633
PREFIX=$(py -$VER -c "import sys; print(sys.base_prefix, end='')")
4734
cp "$PREFIX/python$VER_NUM.dll" .
@@ -59,7 +46,7 @@ jobs:
5946
done
6047
ls *.dll
6148
- name: Upload DLLs
62-
uses: actions/upload-artifact@v3
49+
uses: actions/upload-artifact@v4
6350
with:
6451
name: dll
6552
path: |

0 commit comments

Comments
 (0)