mirror of
https://github.com/yeongpin/cursor-free-vip.git
synced 2025-08-02 20:47:35 +08:00
update github
This commit is contained in:
parent
9500ce1249
commit
638916e5ef
28
.github/workflows/build.yml
vendored
28
.github/workflows/build.yml
vendored
@ -46,17 +46,12 @@ jobs:
|
|||||||
- name: Build EXE
|
- name: Build EXE
|
||||||
run: |
|
run: |
|
||||||
pyinstaller build.spec
|
pyinstaller build.spec
|
||||||
|
|
||||||
- name: Rename artifact
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
mv dist/*.exe "dist/CursorFreeVIP_${VERSION}_windows.exe"
|
|
||||||
|
|
||||||
- name: Upload Windows artifact
|
- name: Upload Windows artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: CursorFreeVIP-Windows
|
name: CursorFreeVIP-Windows
|
||||||
path: dist/CursorFreeVIP_*_windows.exe
|
path: dist/CursorFreeVIP_${VERSION}_windows.exe
|
||||||
|
|
||||||
build-macos-arm64:
|
build-macos-arm64:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
@ -83,7 +78,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: CursorFreeVIP-MacOS-ARM64
|
name: CursorFreeVIP-MacOS-ARM64
|
||||||
path: dist/*
|
path: dist/CursorFreeVIP_${VERSION}_mac_arm64
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
@ -110,7 +105,8 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: CursorFreeVIP-Linux
|
name: CursorFreeVIP-Linux
|
||||||
path: dist/*
|
path: dist/CursorFreeVIP_${VERSION}_linux
|
||||||
|
|
||||||
|
|
||||||
build-macos-intel:
|
build-macos-intel:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
@ -139,7 +135,8 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: CursorFreeVIP-MacOS-Intel
|
name: CursorFreeVIP-MacOS-Intel
|
||||||
path: dist/*
|
path: dist/CursorFreeVIP_${VERSION}_mac_intel
|
||||||
|
|
||||||
|
|
||||||
create-release:
|
create-release:
|
||||||
needs: [build-windows, build-macos-arm64, build-linux, build-macos-intel]
|
needs: [build-windows, build-macos-arm64, build-linux, build-macos-intel]
|
||||||
@ -163,11 +160,12 @@ jobs:
|
|||||||
- name: Prepare release files
|
- name: Prepare release files
|
||||||
run: |
|
run: |
|
||||||
cd artifacts
|
cd artifacts
|
||||||
mv CursorFreeVIP-Windows/* .
|
mv CursorFreeVIP_*_Windows/* .
|
||||||
mv CursorFreeVIP-MacOS-ARM64/* .
|
mv CursorFreeVIP_*_MacOS_ARM64/* .
|
||||||
mv CursorFreeVIP-Linux/* .
|
mv CursorFreeVIP_*_Linux/* .
|
||||||
mv CursorFreeVIP-MacOS-Intel/* .
|
mv CursorFreeVIP_*_MacOS_Intel/* .
|
||||||
rm -rf CursorFreeVIP-*/
|
rm -rf CursorFreeVIP_*_*/
|
||||||
|
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user