feat(desktop): split macOS installer artifacts for independent downloads

This commit is contained in:
winewill authored and leto.w committed 2026-11-12 16:42:47 +08:00
1 parent 9812fa5854
commit d612d51b5a
14 files changed
+150 -29

No files matched your search

+23 -3
View File
@@ -214,14 +214,34 @@ jobs:
- name: Archive verified retained build
id: archive
working-directory: artifact-archiver
run: node --import tsx apps/desktop/scripts/archive-desktop-ci.ts
- name: Retain installers for the selected mode
run: node --import tsx apps/desktop/scripts/archive-desktop-ci.ts --split-macos
- name: Retain package metadata
if: success()
uses: actions/[email protected]
with:
name: ${{ env.DESKTOP_ARCHIVE_NAME }}
name: ${{ steps.archive.outputs.metadata-name }}
path: ${{ steps.archive.outputs.path }}
archive: false
if-no-files-found: error
retention-days: 14
overwrite: true
- name: Retain DMG installer
if: success()
uses: actions/[email protected]
with:
name: ${{ steps.archive.outputs.dmg-name }}
path: ${{ steps.archive.outputs.dmg-path }}
archive: false
if-no-files-found: error
retention-days: 14
overwrite: true
- name: Retain update ZIP
if: success()
uses: actions/[email protected]
with:
name: ${{ steps.archive.outputs.update-name }}
path: ${{ steps.archive.outputs.update-path }}
archive: false
if-no-files-found: error
retention-days: 14
overwrite: true
+23 -3
View File
@@ -211,14 +211,34 @@ jobs:
- name: Archive verified retained build
id: archive
working-directory: artifact-archiver
run: node --import tsx apps/desktop/scripts/archive-desktop-ci.ts
- name: Retain installers for the selected mode
run: node --import tsx apps/desktop/scripts/archive-desktop-ci.ts --split-macos
- name: Retain package metadata
if: success()
uses: actions/[email protected]
with:
name: ${{ env.DESKTOP_ARCHIVE_NAME }}
name: ${{ steps.archive.outputs.metadata-name }}
path: ${{ steps.archive.outputs.path }}
archive: false
if-no-files-found: error
retention-days: 14
overwrite: true
- name: Retain DMG installer
if: success()
uses: actions/[email protected]
with:
name: ${{ steps.archive.outputs.dmg-name }}
path: ${{ steps.archive.outputs.dmg-path }}
archive: false
if-no-files-found: error
retention-days: 14
overwrite: true
- name: Retain update ZIP
if: success()
uses: actions/[email protected]
with:
name: ${{ steps.archive.outputs.update-name }}
path: ${{ steps.archive.outputs.update-path }}
archive: false
if-no-files-found: error
retention-days: 14
overwrite: true