Compare commits
3
Commits
64392a5b9f
...
bc735b57e6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc735b57e6 | ||
|
|
b1c86f1ee8 | ||
|
|
26a65f0d47 |
@@ -111,19 +111,23 @@ jobs:
|
|||||||
codesign --force --deep --sign - "$APP"
|
codesign --force --deep --sign - "$APP"
|
||||||
codesign --verify --verbose "$APP"
|
codesign --verify --verbose "$APP"
|
||||||
|
|
||||||
- name: Create Distribution Archive
|
- name: Create Distribution Disk Image (.dmg)
|
||||||
run: |
|
run: |
|
||||||
APP="$PWD/DerivedData/Build/Products/Release/MacMonitor.app"
|
APP="$PWD/DerivedData/Build/Products/Release/MacMonitor.app"
|
||||||
cd "$(dirname "$APP")"
|
DMG_STAGING="$(mktemp -d)/staging"
|
||||||
ditto -c -k --sequesterRsrc --keepParent "MacMonitor.app" "$GITHUB_WORKSPACE/MacMonitor-intel-x86_64.zip"
|
mkdir -p "$DMG_STAGING"
|
||||||
ls -lh "$GITHUB_WORKSPACE/MacMonitor-intel-x86_64.zip"
|
cp -R "$APP" "$DMG_STAGING/"
|
||||||
|
ln -s /Applications "$DMG_STAGING/Applications"
|
||||||
|
hdiutil create -volname "MacMonitor" -srcfolder "$DMG_STAGING" -ov -format UDZO "$GITHUB_WORKSPACE/MacMonitor-intel-x86_64.dmg"
|
||||||
|
rm -rf "$(dirname "$DMG_STAGING")"
|
||||||
|
ls -lh "$GITHUB_WORKSPACE/MacMonitor-intel-x86_64.dmg"
|
||||||
|
|
||||||
- name: Upload Workflow Artifact
|
- name: Upload Workflow Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
name: MacMonitor-intel-x86_64
|
name: MacMonitor-intel-x86_64
|
||||||
path: MacMonitor-intel-x86_64.zip
|
path: MacMonitor-intel-x86_64.dmg
|
||||||
|
|
||||||
- name: Create Gitea Release & Attach Artifact
|
- name: Create Gitea Release & Attach Artifact
|
||||||
run: |
|
run: |
|
||||||
@@ -147,7 +151,7 @@ jobs:
|
|||||||
echo "ERROR: could not resolve release ID for $TAG"; exit 1
|
echo "ERROR: could not resolve release ID for $TAG"; exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
curl -sS -X POST "$API/releases/$RELEASE_ID/assets?name=MacMonitor-intel-x86_64.zip" \
|
curl -sS -X POST "$API/releases/$RELEASE_ID/assets?name=MacMonitor-intel-x86_64.dmg" \
|
||||||
-H "$AUTH" -H "Content-Type: application/zip" \
|
-H "$AUTH" -H "Content-Type: application/x-apple-diskimage" \
|
||||||
--data-binary @"$GITHUB_WORKSPACE/MacMonitor-intel-x86_64.zip" \
|
--data-binary @"$GITHUB_WORKSPACE/MacMonitor-intel-x86_64.dmg" \
|
||||||
-o /tmp/asset.json -w "attach_asset_http=%{http_code}\n"
|
-o /tmp/asset.json -w "attach_asset_http=%{http_code}\n"
|
||||||
|
|||||||
+1
-1
@@ -203,7 +203,7 @@ graph TD
|
|||||||
- **Goal:** Proactive health alerts, macOS Notification Center integration, end-to-end regression validation, and release packaging.
|
- **Goal:** Proactive health alerts, macOS Notification Center integration, end-to-end regression validation, and release packaging.
|
||||||
- **Execution Order:**
|
- **Execution Order:**
|
||||||
1. `#24` Threshold Alerts & Notification Center (`feat/24-threshold-alerts` - Depends on #3, #4, #8, #9)
|
1. `#24` Threshold Alerts & Notification Center (`feat/24-threshold-alerts` - Depends on #3, #4, #8, #9)
|
||||||
2. Full end-to-end integration testing and automated release archiving (`MacMonitor-intel-x86_64.zip`) on tagged commit.
|
2. Full end-to-end integration testing and automated release archiving (`MacMonitor-intel-x86_64.dmg`) on tagged commit.
|
||||||
- **Quality Gate M5:** Zero crashes, all unit test suites passing on Intel macOS runner, DMG/ZIP distribution artifact ready.
|
- **Quality Gate M5:** Zero crashes, all unit test suites passing on Intel macOS runner, DMG/ZIP distribution artifact ready.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user