fix(desktop): isolate split artifact uploads and address review

This commit is contained in:
winewill authored and leto.w committed 2026-11-12 16:43:02 +08:00
1 parent d612d51b5a
commit e71f25fc4b
13 files changed
+59 -46

No files matched your search

+12 -12
View File
@@ -215,18 +215,8 @@ jobs:
id: archive
working-directory: artifact-archiver
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: ${{ 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()
if: ${{ !cancelled() && steps.archive.outcome == 'success' }}
uses: actions/[email protected]
with:
name: ${{ steps.archive.outputs.dmg-name }}
@@ -236,7 +226,7 @@ jobs:
retention-days: 14
overwrite: true
- name: Retain update ZIP
if: success()
if: ${{ !cancelled() && steps.archive.outcome == 'success' }}
uses: actions/[email protected]
with:
name: ${{ steps.archive.outputs.update-name }}
@@ -245,3 +235,13 @@ jobs:
if-no-files-found: error
retention-days: 14
overwrite: true
- name: Retain package metadata
if: ${{ !cancelled() && steps.archive.outcome == 'success' }}
uses: actions/[email protected]
with:
name: ${{ steps.archive.outputs.metadata-name }}
path: ${{ steps.archive.outputs.metadata-path }}
archive: false
if-no-files-found: error
retention-days: 14
overwrite: true
+12 -12
View File
@@ -212,18 +212,8 @@ jobs:
id: archive
working-directory: artifact-archiver
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: ${{ 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()
if: ${{ !cancelled() && steps.archive.outcome == 'success' }}
uses: actions/[email protected]
with:
name: ${{ steps.archive.outputs.dmg-name }}
@@ -233,7 +223,7 @@ jobs:
retention-days: 14
overwrite: true
- name: Retain update ZIP
if: success()
if: ${{ !cancelled() && steps.archive.outcome == 'success' }}
uses: actions/[email protected]
with:
name: ${{ steps.archive.outputs.update-name }}
@@ -242,3 +232,13 @@ jobs:
if-no-files-found: error
retention-days: 14
overwrite: true
- name: Retain package metadata
if: ${{ !cancelled() && steps.archive.outcome == 'success' }}
uses: actions/[email protected]
with:
name: ${{ steps.archive.outputs.metadata-name }}
path: ${{ steps.archive.outputs.metadata-path }}
archive: false
if-no-files-found: error
retention-days: 14
overwrite: true