mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 05:00:30 +08:00
add zip package for macos
This commit is contained in:
parent
e79e3dcd1b
commit
b23f3123d4
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -198,7 +198,7 @@ jobs:
|
|||||||
npm_config_target_arch: ${{ matrix.arch }}
|
npm_config_target_arch: ${{ matrix.arch }}
|
||||||
run: pnpm build:mac --${{ matrix.arch }}
|
run: pnpm build:mac --${{ matrix.arch }}
|
||||||
- name: Generate checksums
|
- name: Generate checksums
|
||||||
run: pnpm checksum .dmg
|
run: pnpm checksum .dmg .zip
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
if: startsWith(github.ref, 'refs/heads/')
|
if: startsWith(github.ref, 'refs/heads/')
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@ -207,6 +207,7 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
dist/*.sha256
|
dist/*.sha256
|
||||||
dist/*.dmg
|
dist/*.dmg
|
||||||
|
dist/*.zip
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
- name: Publish Release
|
- name: Publish Release
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
@ -215,6 +216,7 @@ jobs:
|
|||||||
files: |
|
files: |
|
||||||
dist/*.sha256
|
dist/*.sha256
|
||||||
dist/*.dmg
|
dist/*.dmg
|
||||||
|
dist/*.zip
|
||||||
body_path: changelog.md
|
body_path: changelog.md
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|||||||
@ -40,6 +40,7 @@ nsis:
|
|||||||
mac:
|
mac:
|
||||||
target:
|
target:
|
||||||
- dmg
|
- dmg
|
||||||
|
- zip
|
||||||
entitlementsInherit: build/entitlements.mac.plist
|
entitlementsInherit: build/entitlements.mac.plist
|
||||||
extendInfo:
|
extendInfo:
|
||||||
- NSCameraUsageDescription: Application requests access to the device's camera.
|
- NSCameraUsageDescription: Application requests access to the device's camera.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user