@ondeinference / onde / commits / 79af9d7

Harden Swift release artifact upload

Seto Elkahfi committed May 15, 2026 at 12:03 UTC 79af9d7c0bf0979a13adde638bfed742dd44f6da
1 file changed +4 -2
.github/workflows/release-sdk-swift.yml
+4 -2
@@ -66,10 +66,11 @@ jobs:
66 fi
67 echo "Version check passed: $CARGO_VERSION"
68
69 - # ── Upload CI artifacts (every run) ──────────────────────────────────
69 + # ── Upload CI artifacts (manual runs only) ───────────────────────────
70
71 - name: Upload XCFramework artifacts
72 - uses: actions/upload-artifact@v7
72 + if: github.event_name == 'workflow_dispatch'
73 + uses: actions/upload-artifact@v4
74 with:
75 name: onde-swift-xcframework
76 path: |
@@ -78,6 +79,7 @@ jobs:
79 dist/swift/version.txt
80 dist/swift/Package/Sources/Onde/onde.swift
81 if-no-files-found: error
82 + retention-days: 14
83
84 # ── Create GitHub Release and attach assets (tag push only) ──────────
85