chore: 删除mac_x86
This commit is contained in:
33
.github/workflows/build.yml
vendored
33
.github/workflows/build.yml
vendored
@@ -62,35 +62,6 @@ jobs:
|
|||||||
name: CursorPro-MacOS-ARM64
|
name: CursorPro-MacOS-ARM64
|
||||||
path: dist/CursorPro
|
path: dist/CursorPro
|
||||||
|
|
||||||
build-macos-x86:
|
|
||||||
runs-on: macos-12
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: '3.x'
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip install pyinstaller
|
|
||||||
pip install -r requirements.txt
|
|
||||||
|
|
||||||
- name: Build MacOS x86 executable
|
|
||||||
env:
|
|
||||||
ARCHFLAGS: "-arch x86_64"
|
|
||||||
run: |
|
|
||||||
pyinstaller CursorKeepAlive.spec
|
|
||||||
|
|
||||||
- name: Upload MacOS x86 artifact
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: CursorPro-MacOS-x86
|
|
||||||
path: dist/CursorPro
|
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
@@ -119,7 +90,7 @@ jobs:
|
|||||||
path: dist/CursorPro
|
path: dist/CursorPro
|
||||||
|
|
||||||
create-release:
|
create-release:
|
||||||
needs: [build-windows, build-macos-arm64, build-macos-x86, build-linux]
|
needs: [build-windows, build-macos-arm64, build-linux]
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
|
||||||
@@ -134,7 +105,6 @@ jobs:
|
|||||||
cd artifacts
|
cd artifacts
|
||||||
zip -r CursorPro-Windows.zip CursorPro-Windows/
|
zip -r CursorPro-Windows.zip CursorPro-Windows/
|
||||||
zip -r CursorPro-MacOS-ARM64.zip CursorPro-MacOS-ARM64/
|
zip -r CursorPro-MacOS-ARM64.zip CursorPro-MacOS-ARM64/
|
||||||
zip -r CursorPro-MacOS-x86.zip CursorPro-MacOS-x86/
|
|
||||||
zip -r CursorPro-Linux.zip CursorPro-Linux/
|
zip -r CursorPro-Linux.zip CursorPro-Linux/
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
@@ -143,7 +113,6 @@ jobs:
|
|||||||
files: |
|
files: |
|
||||||
artifacts/CursorPro-Windows.zip
|
artifacts/CursorPro-Windows.zip
|
||||||
artifacts/CursorPro-MacOS-ARM64.zip
|
artifacts/CursorPro-MacOS-ARM64.zip
|
||||||
artifacts/CursorPro-MacOS-x86.zip
|
|
||||||
artifacts/CursorPro-Linux.zip
|
artifacts/CursorPro-Linux.zip
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
||||||
Reference in New Issue
Block a user