Skip to content

Commit

Permalink
ci: Collect python313.dll from GHA runners
Browse files Browse the repository at this point in the history
Update relevant dependency action API versions.
  • Loading branch information
ravenexp committed Jun 24, 2024
1 parent 871aa92 commit 49d6ceb
Showing 1 changed file with 16 additions and 29 deletions.
45 changes: 16 additions & 29 deletions .github/workflows/dll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,38 +10,25 @@ jobs:
name: Collect pythonXY.dll
runs-on: windows-latest
steps:
- uses: actions/setup-python@v4
with:
python-version: "pypy3.8"
- uses: actions/setup-python@v4
with:
python-version: "pypy3.9"
- uses: actions/setup-python@v4
with:
python-version: "pypy3.10"
- uses: actions/setup-python@v4
with:
python-version: "3.7"
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- uses: actions/setup-python@v4
with:
python-version: "3.9"
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- uses: actions/setup-python@v4
with:
python-version: "3.12-dev"
- uses: actions/setup-python@v5
with:
python-version: |
pypy3.8
pypy3.9
pypy3.10
3.7
3.8
3.9
3.10
3.11
3.12
3.13
allow-prereleases: true
- name: Copy pythonXY.dll
shell: bash
run: |
set -e
for VER in 3.7 3.8 3.9 3.10 3.11 3.12; do
for VER in 3.7 3.8 3.9 3.10 3.11 3.12 3.13; do
VER_NUM=$(echo $VER | sed 's/\.//')
PREFIX=$(py -$VER -c "import sys; print(sys.base_prefix, end='')")
cp "$PREFIX/python$VER_NUM.dll" .
Expand All @@ -59,7 +46,7 @@ jobs:
done
ls *.dll
- name: Upload DLLs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dll
path: |
Expand Down

0 comments on commit 49d6ceb

Please sign in to comment.