File tree 2 files changed +35
-3
lines changed
2 files changed +35
-3
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ jobs:
19
19
20
20
steps :
21
21
- uses : actions/checkout@v3
22
- - name : Set up Python 3.10
22
+ - name : Set up Python 3.11
23
23
uses : actions/setup-python@v3
24
24
with :
25
- python-version : " 3.10 "
25
+ python-version : " 3.11 "
26
26
- name : Install dependencies
27
27
run : |
28
28
python -m pip install --upgrade pip
Original file line number Diff line number Diff line change 41
41
uses : actions/upload-artifact@v4
42
42
with :
43
43
name : release
44
- path : release.zip
44
+ path : release.zip
45
+
46
+ build-windows :
47
+ runs-on : windows-latest
48
+
49
+ steps :
50
+ - name : Checkout code
51
+ uses : actions/checkout@v2
52
+
53
+ - name : Set up Python
54
+ uses : actions/setup-python@v2
55
+ with :
56
+ python-version : 3.11
57
+
58
+ - name : Install dependencies
59
+ run : |
60
+ python -m pip install --upgrade pip
61
+ pip install -r requirements.txt
62
+ pip install pyinstaller
63
+
64
+ - name : Run buildup.py
65
+ run : python buildup.py
66
+
67
+ - name : Archive release files
68
+ run : |
69
+ mkdir -p dist
70
+ Compress-Archive -Path dist\* -DestinationPath release-windows.zip
71
+
72
+ - name : Upload release artifact
73
+ uses : actions/upload-artifact@v4
74
+ with :
75
+ name : release-windows
76
+ path : release-windows.zip
You can’t perform that action at this time.
0 commit comments