fix: authenticate iOS XCFramework download in MAUI workflows - #6
Merged
Conversation
The MAUI CI job (and publish-maui) fetched the Screeb.zip asset via an unauthenticated curl to api.github.com. On shared macOS runner IPs this hit the 60 req/hour limit, returning a rate-limit JSON body with no 'assets' key -> 'KeyError: assets', failing the job on every commit. Use 'gh release download' authenticated with the built-in GITHUB_TOKEN (1000+/hour limit) and drop the brittle inline Python parsing.
Alexays
pushed a commit
that referenced
this pull request
Jul 9, 2026
fix: authenticate iOS XCFramework download in MAUI workflows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The
CIworkflow's .NET MAUI SDK job has been failing on every MAUI-containing commit at the Download Screeb iOS XCFramework step:The step parsed
api.github.com/repos/ScreebApp/sdk-ios-public/releases/latestvia an unauthenticatedcurl. The repo is public and the latest release (3.2.4) has theScreeb.zipasset — but unauthenticated API requests are capped at 60/hour per IP, and GitHub-hosted macOS runners share NAT IPs. The call gets a403 {"message": "API rate limit exceeded ..."}body, which has noassetskey →KeyError.Fix
Use
gh release downloadauthenticated with the built-inGITHUB_TOKEN(raises the limit to 1,000+/hour) and drop the fragile inline Python:Applied to both
ci.yml(maui job) andpublish-maui.yml(same broken step). No new secret needed; defaultcontents: readis sufficient. Verifiedgh release downloadfetches the asset locally.Note
This unblocks the download step. The MAUI job's later steps (restore / build android+ios / tests) have not previously run to completion, so if one fails after this, it's a distinct follow-up.