feat(desktop): split macOS installer artifacts for independent downloads
This commit is contained in:
1 parent
9812fa5854
commit
d612d51b5a
14 files changed
+150
-29
No files matched your search
@@ -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
|
||||
@@ -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
|
||||
Reference in new issue
Block a user