@@ -16,16 +16,27 @@ jobs:
16
16
uses : actions/checkout@v2
17
17
18
18
19
- - name : PyInstaller- Linux
19
+ - name : PyInstaller Linux
20
20
21
21
with :
22
22
path : .
23
23
24
+ - name : PyInstaller Windows
25
+ uses : JackMcKew/pyinstaller-action-windows@python3-10-pyinstaller-5-3
26
+ with :
27
+ path : .
28
+
24
29
- name : Cp Linux Dist
25
- run : cp -r dist/linux/triangle_check .
30
+ run : cp -r dist/linux/triangle_check triangle_check_linux
26
31
27
32
- name : Zip Linux Dist
28
- run : zip -r triangle_check.zip triangle_check
33
+ run : zip -r triangle_check_linux.zip triangle_check_linux
34
+
35
+ - name : Cp Win Dist
36
+ run : cp -r dist/windows/triangle_check_win triangle_check_win
37
+
38
+ - name : Zip Win Dist
39
+ run : zip -r triangle_check_win.zip triangle_check_win
29
40
30
41
- name : Create Release
31
42
id : create_release
@@ -38,13 +49,24 @@ jobs:
38
49
draft : false
39
50
prerelease : false
40
51
41
- - name : Upload Release Asset
42
- id : upload-release-asset
52
+ - name : Upload Linux Release Asset
53
+ id : upload-linux-release-asset
54
+ uses : actions/upload-release-asset@v1
55
+ env :
56
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
57
+ with :
58
+ upload_url : ${{ steps.create_release.outputs.upload_url }}
59
+ asset_path : ./triangle_check_linux.zip
60
+ asset_name : triangle_check_linux.zip
61
+ asset_content_type : application/gzip
62
+
63
+ - name : Upload Win Release Asset
64
+ id : upload-win-release-asset
43
65
uses : actions/upload-release-asset@v1
44
66
env :
45
67
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46
68
with :
47
69
upload_url : ${{ steps.create_release.outputs.upload_url }}
48
- asset_path : ./triangle_check .zip
49
- asset_name : triangle_check .zip
70
+ asset_path : ./triangle_check_win .zip
71
+ asset_name : triangle_check_win .zip
50
72
asset_content_type : application/gzip
0 commit comments