@@ -27,17 +27,11 @@ jobs:
27
27
run : |
28
28
pyinstaller CursorKeepAlive.spec
29
29
30
- - name : Copy and rename env file
31
- run : |
32
- copy .env.example dist\.env
33
-
34
30
- name : Upload Windows artifact
35
31
uses : actions/upload-artifact@v4
36
32
with :
37
33
name : CursorPro-Windows
38
- path : |
39
- dist/CursorPro.exe
40
- dist/.env
34
+ path : dist/CursorPro.exe
41
35
42
36
build-macos-arm64 :
43
37
runs-on : macos-latest
@@ -60,17 +54,11 @@ jobs:
60
54
run : |
61
55
pyinstaller CursorKeepAlive.spec
62
56
63
- - name : Copy and rename env file
64
- run : |
65
- cp .env.example dist/.env
66
-
67
57
- name : Upload MacOS ARM artifact
68
58
uses : actions/upload-artifact@v4
69
59
with :
70
60
name : CursorPro-MacOS-ARM64
71
- path : |
72
- dist/CursorPro
73
- dist/.env
61
+ path : dist/CursorPro
74
62
75
63
build-linux :
76
64
runs-on : ubuntu-22.04
@@ -93,17 +81,11 @@ jobs:
93
81
run : |
94
82
pyinstaller CursorKeepAlive.spec
95
83
96
- - name : Copy and rename env file
97
- run : |
98
- cp .env.example dist/.env
99
-
100
84
- name : Upload Linux artifact
101
85
uses : actions/upload-artifact@v4
102
86
with :
103
87
name : CursorPro-Linux
104
- path : |
105
- dist/CursorPro
106
- dist/.env
88
+ path : dist/CursorPro
107
89
108
90
build-macos-intel :
109
91
runs-on : macos-latest
@@ -128,21 +110,11 @@ jobs:
128
110
run : |
129
111
arch -x86_64 python3 -m PyInstaller CursorKeepAlive.spec
130
112
131
- - name : Copy and rename env file
132
- run : |
133
- cp .env.example dist/.env
134
-
135
- - name : Verify architecture
136
- run : |
137
- file dist/CursorPro | grep "x86_64" || (echo "Wrong architecture" && exit 1)
138
-
139
113
- name : Upload MacOS Intel artifact
140
114
uses : actions/upload-artifact@v4
141
115
with :
142
116
name : CursorPro-MacOS-Intel
143
- path : |
144
- dist/CursorPro
145
- dist/.env
117
+ path : dist/CursorPro
146
118
147
119
create-release :
148
120
needs : [build-windows, build-macos-arm64, build-linux, build-macos-intel]
0 commit comments