Skip to content

build: derive the WebRTC cache branch from the pom and guard deploys - #248

Open
SendableMetatype wants to merge 1 commit into
devopvoid:mainfrom
SendableMetatype:ci/fork-safe-ci
Open

build: derive the WebRTC cache branch from the pom and guard deploys#248
SendableMetatype wants to merge 1 commit into
devopvoid:mainfrom
SendableMetatype:ci/fork-safe-ci

Conversation

@SendableMetatype

Copy link
Copy Markdown

Two CI robustness issues in one commit:

The WebRTC cache branch is pinned as a literal env in the workflows and must be kept in sync with webrtc-jni/pom.xml by hand; when they drift, lanes restore caches for the wrong engine branch. A setup step now derives the value from the pom, making the pom the single source of truth.

The Sonatype deploy steps run unconditionally, so on any fork every fully successful lane concludes as failure from the credentialless 401, and because cache saves are gated on success, fork builds can never warm their caches either. Deploys are now skipped on pull requests and guarded to the devopvoid/webrtc-java repository. Behavior for this repository's own pushes is unchanged.

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.

1 participant