Skip to content

ci: fix release workflow clone collision when called from iOS SDK#159

Merged
fadi-george merged 1 commit into
mainfrom
fg/ci-fix
Mar 5, 2026
Merged

ci: fix release workflow clone collision when called from iOS SDK#159
fadi-george merged 1 commit into
mainfrom
fg/ci-fix

Conversation

@fadi-george

Copy link
Copy Markdown
Contributor

Summary

When this workflow is called from the iOS SDK repo via workflow_call, the runner workspace path is .../OneSignal-iOS-SDK/OneSignal-iOS-SDK. The git clone ../OneSignal-iOS-SDK step resolves back to the workspace directory itself, which already exists, causing exit code 128.

This checks out the DotNet SDK into a dotnet-sdk subdirectory and sets the default working directory accordingly, so ../OneSignal-iOS-SDK resolves to a fresh sibling path instead of the workspace root.

Test plan

  • Re-run the iOS SDK publish workflow that triggers this workflow via workflow_call
  • Verify the "Clone and update native SDKs" step completes without exit code 128

Made with Cursor

@fadi-george fadi-george requested a review from nan-li March 5, 2026 02:20
@fadi-george fadi-george merged commit 61eb7fa into main Mar 5, 2026
8 checks passed
@fadi-george fadi-george deleted the fg/ci-fix branch March 5, 2026 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants