Add Unity WebGL GitHub Actions build - #146
Merged
Merged
Conversation
Adds game-ci unity-builder CI for WebGL using the existing Release build profile, plus docs for setting UNITY_LICENSE / UNITY_EMAIL / UNITY_PASSWORD secrets. Co-authored-by: KonH <konhit@gmail.com>
Builds WebGL on main/manual dispatch and uploads to the existing Unity Play listing via the WebGL Publisher API, with docs for the shared license secrets and optional UNITY_PLAY_PROJECT_ID override. Co-authored-by: KonH <konhit@gmail.com>
KonH
marked this pull request as ready for review
August 7, 2026 18:30
Drop push/PR triggers from the build and Unity Play deploy actions so they run only via workflow_dispatch. Co-authored-by: KonH <konhit@gmail.com>
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.
Summary
Adds GameCI Unity WebGL CI plus a Unity Play deploy workflow. Both are manual only (
workflow_dispatch) — no push/PR auto-runs..github/workflows/build-webgl.yml) — artifact-only build.github/workflows/deploy-unity-play.yml) — build + upload viascripts/ci/deploy_unity_play.pyDocs/CI/unity-webgl-github-actions.mdDeploy mirrors the WebGL Publisher package API and updates project id
790490b4-2b09-4c1c-8a2e-df23f6b43b47by default. Does not replace GitHub Pages (Blazor client).Secret setup (required)
GitHub → KonH/GlobalStrategy → Settings → Secrets and variables → Actions
UNITY_LICENSEUnity_lic.ulfUNITY_EMAILUNITY_PASSWORDUNITY_PLAY_PROJECT_IDGet the
.ulf: Unity Hub → Preferences → Licenses → Add → free personal license, then copy fromUnity_lic.ulf(WindowsC:\ProgramData\Unity\, macOS/Library/Application Support/Unity/, Linux~/.local/share/unity3d/Unity/).After secrets are set