File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Collect pythonXY.dll
2+
3+ on :
4+ push :
5+ pull_request :
6+ workflow_dispatch :
7+
8+ jobs :
9+ collect :
10+ name : Collect pythonXY.dll
11+ runs-on : windows-latest
12+ steps :
13+ - uses : actions/setup-python@v2
14+ with :
15+ python-version : " 3.7"
16+ - uses : actions/setup-python@v2
17+ with :
18+ python-version : " 3.8"
19+ - uses : actions/setup-python@v2
20+ with :
21+ python-version : " 3.9"
22+ - uses : actions/setup-python@v2
23+ with :
24+ python-version : " 3.10"
25+ - uses : actions/setup-python@v2
26+ with :
27+ python-version : " 3.11-dev"
28+ - name : Copy pythonXY.dll
29+ shell : bash
30+ run : |
31+ for VER in 3.7 3.8 3.9 3.10 3.11; do
32+ VER_NUM=$(echo $VER | sed 's/\.//')
33+ PREFIX=$(py -$VER -c "import sys; print(sys.base_prefix, end='')")
34+ cp "$PREFIX/python$VER_NUM.dll" .
35+ done
36+ ls *.dll
37+ - name : Upload DLLs
38+ uses : actions/upload-artifact@v2
39+ with :
40+ name : dll
41+ path : |
42+ *.dll
You can’t perform that action at this time.
0 commit comments