diff --git a/.github/CI.md b/.github/CI.md index 163281a9..7e29c1ff 100644 --- a/.github/CI.md +++ b/.github/CI.md @@ -6,6 +6,12 @@ macOS, Linux, and 32-bit/64-bit Windows. The workflows run only on pull requests New commits cancel superseded runs for the same pull request and workflow. Successful desktop/Android builds upload artifacts. +The README badges show each workflow's latest pull request build using +`event=pull_request`, with no branch filter. Without the event filter, GitHub's +badges prefer the default branch and can keep showing old push builds after a +workflow switches to PR-only triggers. The badge links filter the build history +to pull requests as well. + The separate `Code style` workflow verifies changed owned C# files with the SDK's `dotnet format`, using `.editorconfig` and the SDK pinned in `global.json`. It combines whitespace formatting with pinned StyleCop layout rules SA1107, SA1502, diff --git a/README.en-US.md b/README.en-US.md index 413caa40..b7d10b78 100644 --- a/README.en-US.md +++ b/README.en-US.md @@ -35,11 +35,14 @@ This is an open-source project that re-implements [The Legend of Sword and Fairy Note: The Legend of Sword and Fairy 3 and The Legend of Sword and Fairy 3 Gaiden: Wenqing Pian are original works of Softstar Technology (Shanghai) Co., Ltd., with copyrights belonging to Softstar Technology (Shanghai) Co., Ltd. and Softstar International Inc. (I might be wrong but please verify yourself). This project does not contain any game data from the original game. The project is under the GPL-3.0 license but is limited to the code of this project excluding Unity assets and other assets and plugins that I used and get from Unity Asset Store. Any textures, audio, video, or game data related to The Legend of Sword and Fairy 3 or The Legend of Sword and Fairy 3 Gaiden: Wenqing Pian are not covered by this license. -## Build status +## Latest PR build status + +CI runs only on pull requests. Each badge shows the latest pull request build for that workflow; click it to view the corresponding PR build history. + | Game Variant | Windows | Linux | MacOS | Android | iOS | |-------------------------|---------|-------|-------|---------|-----| -| The Legend of Sword and Fairy 3 | Size | Size | Size | Size | Size | -| The Legend of Sword and Fairy 3 Gaiden: Wenqing Pian | Size | Size | Size | Size | Size | +| The Legend of Sword and Fairy 3 | PR build status | PR build status | PR build status | PR build status | PR build status | +| The Legend of Sword and Fairy 3 Gaiden: Wenqing Pian | PR build status | PR build status | PR build status | PR build status | PR build status | ## How to run the project Open the project with the Unity version specified in [ProjectVersion.txt](ProjectSettings/ProjectVersion.txt). The project uses URP Forward+. diff --git a/README.md b/README.md index b08a8f3e..f52be541 100644 --- a/README.md +++ b/README.md @@ -35,11 +35,14 @@ 注意:仙剑奇侠传三以及仙剑奇侠传三外传属于原上海软星作品,版权属于软星科技以及大宇公司所有,本项目不包含任何仙剑奇侠传三以及仙剑奇侠传三外传的游戏本体数据。本项目遵循GPL-3.0协议,但仅限于此项目的代码,任何与仙剑奇侠传三或者外传有关的图片,音视频,游戏数据均不在此范围,任何未经版权方许可的情况下使用仙剑奇侠传三或者外传游戏数据进行商业行为都是违法的。 -## 主分支当前编译状态 +## 最新 PR 编译状态 + +CI 仅在 Pull Request 上运行;以下徽章显示各工作流最近一次 PR 构建的状态。点击徽章可查看对应的 PR 构建记录。 + | 游戏版本 | Windows | Linux | MacOS | Android | iOS | |-------------------------|---------|-------|-------|---------|-----| -| 仙剑奇侠传三 | Size | Size | Size | Size | Size | -| 仙剑奇侠传三外传:问情篇 | Size | Size | Size | Size | Size | +| 仙剑奇侠传三 | PR build status | PR build status | PR build status | PR build status | PR build status | +| 仙剑奇侠传三外传:问情篇 | PR build status | PR build status | PR build status | PR build status | PR build status | ## 如何运行项目 使用 [ProjectVersion.txt](ProjectSettings/ProjectVersion.txt) 指定的 Unity 版本打开项目。项目使用 URP Forward+。