Skip to content
This repository was archived by the owner on Apr 20, 2025. It is now read-only.

Commit 85c0ce6

Browse files
author
cheng zhen
committed
chore: 删除mac_x86
1 parent 7fdbe6f commit 85c0ce6

File tree

1 file changed

+1
-32
lines changed

1 file changed

+1
-32
lines changed

Diff for: .github/workflows/build.yml

+1-32
Original file line numberDiff line numberDiff line change
@@ -62,35 +62,6 @@ jobs:
6262
name: CursorPro-MacOS-ARM64
6363
path: dist/CursorPro
6464

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-
9465
build-linux:
9566
runs-on: ubuntu-22.04
9667

@@ -119,7 +90,7 @@ jobs:
11990
path: dist/CursorPro
12091

12192
create-release:
122-
needs: [build-windows, build-macos-arm64, build-macos-x86, build-linux]
93+
needs: [build-windows, build-macos-arm64, build-linux]
12394
runs-on: ubuntu-22.04
12495
if: startsWith(github.ref, 'refs/tags/')
12596

@@ -134,7 +105,6 @@ jobs:
134105
cd artifacts
135106
zip -r CursorPro-Windows.zip CursorPro-Windows/
136107
zip -r CursorPro-MacOS-ARM64.zip CursorPro-MacOS-ARM64/
137-
zip -r CursorPro-MacOS-x86.zip CursorPro-MacOS-x86/
138108
zip -r CursorPro-Linux.zip CursorPro-Linux/
139109
140110
- name: Create Release
@@ -143,7 +113,6 @@ jobs:
143113
files: |
144114
artifacts/CursorPro-Windows.zip
145115
artifacts/CursorPro-MacOS-ARM64.zip
146-
artifacts/CursorPro-MacOS-x86.zip
147116
artifacts/CursorPro-Linux.zip
148117
env:
149118
GITHUB_TOKEN: ${{ secrets.TOKEN }}

0 commit comments

Comments
 (0)