62
62
name : CursorPro-MacOS-ARM64
63
63
path : dist/CursorPro
64
64
65
- build-macos-x86 :
66
- runs-on : macos-12
67
-
68
- steps :
69
- - uses : actions/checkout@v2
70
-
71
- - name : Set up Python
72
- uses : actions/setup-python@v2
73
- with :
74
- python-version : ' 3.x'
75
-
76
- - name : Install dependencies
77
- run : |
78
- python -m pip install --upgrade pip
79
- pip install pyinstaller
80
- pip install -r requirements.txt
81
-
82
- - name : Build MacOS x86 executable
83
- env :
84
- ARCHFLAGS : " -arch x86_64"
85
- run : |
86
- pyinstaller CursorKeepAlive.spec
87
-
88
- - name : Upload MacOS x86 artifact
89
- uses : actions/upload-artifact@v4
90
- with :
91
- name : CursorPro-MacOS-x86
92
- path : dist/CursorPro
93
-
94
65
build-linux :
95
66
runs-on : ubuntu-22.04
96
67
119
90
path : dist/CursorPro
120
91
121
92
create-release :
122
- needs : [build-windows, build-macos-arm64, build-macos-x86, build- linux]
93
+ needs : [build-windows, build-macos-arm64, build-linux]
123
94
runs-on : ubuntu-22.04
124
95
if : startsWith(github.ref, 'refs/tags/')
125
96
@@ -134,7 +105,6 @@ jobs:
134
105
cd artifacts
135
106
zip -r CursorPro-Windows.zip CursorPro-Windows/
136
107
zip -r CursorPro-MacOS-ARM64.zip CursorPro-MacOS-ARM64/
137
- zip -r CursorPro-MacOS-x86.zip CursorPro-MacOS-x86/
138
108
zip -r CursorPro-Linux.zip CursorPro-Linux/
139
109
140
110
- name : Create Release
@@ -143,7 +113,6 @@ jobs:
143
113
files : |
144
114
artifacts/CursorPro-Windows.zip
145
115
artifacts/CursorPro-MacOS-ARM64.zip
146
- artifacts/CursorPro-MacOS-x86.zip
147
116
artifacts/CursorPro-Linux.zip
148
117
env :
149
118
GITHUB_TOKEN : ${{ secrets.TOKEN }}
0 commit comments