mirror of
https://github.com/pompurin404/mihomo-party.git
synced 2024-11-16 11:42:19 +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 }}
|
||||
run: pnpm build:mac --${{ matrix.arch }}
|
||||
- name: Generate checksums
|
||||
run: pnpm checksum .dmg
|
||||
run: pnpm checksum .dmg .zip
|
||||
- name: Upload Artifacts
|
||||
if: startsWith(github.ref, 'refs/heads/')
|
||||
uses: actions/upload-artifact@v4
|
||||
|
@ -207,6 +207,7 @@ jobs:
|
|||
path: |
|
||||
dist/*.sha256
|
||||
dist/*.dmg
|
||||
dist/*.zip
|
||||
if-no-files-found: error
|
||||
- name: Publish Release
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
|
@ -215,6 +216,7 @@ jobs:
|
|||
files: |
|
||||
dist/*.sha256
|
||||
dist/*.dmg
|
||||
dist/*.zip
|
||||
body_path: changelog.md
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
|
|
@ -40,6 +40,7 @@ nsis:
|
|||
mac:
|
||||
target:
|
||||
- dmg
|
||||
- zip
|
||||
entitlementsInherit: build/entitlements.mac.plist
|
||||
extendInfo:
|
||||
- NSCameraUsageDescription: Application requests access to the device's camera.
|
||||
|
|
Loading…
Reference in New Issue
Block a user