setup workflow

This commit is contained in:
iceBear67
2026-08-08 13:13:27 +08:00
parent 2c69d10361
commit 644ec33b91
2 changed files with 94 additions and 9 deletions
+14 -9
View File
@@ -29,15 +29,15 @@ Supports **Minecraft 1.20 through 26.2**, client side only. Requires
| Your Minecraft version | Jar |
| --- | --- |
| 1.20 1.20.1 | `photosync-1.20.1-1.0.0.jar` |
| 1.20.2 1.20.4 | `photosync-1.20.4-1.0.0.jar` |
| 1.20.5 1.20.6 | `photosync-1.20.6-1.0.0.jar` |
| 1.21 1.21.1 | `photosync-1.21.1-1.0.0.jar` |
| 1.21.2 1.21.4 | `photosync-1.21.4-1.0.0.jar` |
| 1.21.5 | `photosync-1.21.5-1.0.0.jar` |
| 1.21.6 1.21.10 | `photosync-1.21.8-1.0.0.jar` |
| 1.21.11 1.21.x | `photosync-1.21.11-1.0.0.jar` |
| 26.1 26.2 | `photosync-26.2-1.0.0.jar` |
| 1.20 1.20.1 | `photosync-1.20.1-x.y.z.jar` |
| 1.20.2 1.20.4 | `photosync-1.20.4-x.y.z.jar` |
| 1.20.5 1.20.6 | `photosync-1.20.6-x.y.z.jar` |
| 1.21 1.21.1 | `photosync-1.21.1-x.y.z.jar` |
| 1.21.2 1.21.4 | `photosync-1.21.4-x.y.z.jar` |
| 1.21.5 | `photosync-1.21.5-x.y.z.jar` |
| 1.21.6 1.21.10 | `photosync-1.21.8-x.y.z.jar` |
| 1.21.11 1.21.x | `photosync-1.21.11-x.y.z.jar` |
| 26.1 26.2 | `photosync-26.2-x.y.z.jar` |
Each jar declares its own supported range, so Fabric will refuse to load the
wrong one rather than crashing later.
@@ -215,6 +215,11 @@ version in a dev client:
./gradlew :platform:1.21.11:runClient
```
Releases are built and published by `.github/workflows/release.yml`: push a
`v<version>` tag (which must match `mod_version` in `gradle.properties`), or run
the workflow by hand and it builds the current commit and releases it under the
`mod_version` tag.
The source tree is one shared implementation plus nine thin per-version
adapters. If you are adding a Minecraft version or wondering why the layout is
the way it is, [`docs/PORTING.md`](docs/PORTING.md) is the document for that: it