fix(migration): complete standalone package hosts
Validate ShrinkSDK Workspace / unity (push) Successful in 3m3s

This commit is contained in:
2026-08-26 08:34:05 +08:00
parent 4d9b34dc36
commit efc9a2aca9
28 changed files with 432 additions and 36 deletions
@@ -57,7 +57,6 @@ jobs:
"$unity_bin" \
-batchmode \
-nographics \
-quit \
-projectPath "$host" \
-runTests \
-testPlatform EditMode \
@@ -0,0 +1,37 @@
name: Verify Published UPM Consumers
on:
workflow_dispatch:
jobs:
consumers:
runs-on: unity-2022.3.62f3
container:
image: docker.1panel.live/unityci/editor:ubuntu-2022.3.62f3-windows-mono-3
volumes:
- /www/dk_project/bt-recovery/gitea/runner/seedskey-unity-license:/root/.local/share/unity3d/Unity
- /www/dk_project/bt-recovery/gitea/runner/seedskey-unity-entitlements:/root/.config/unity3d/Unity/licenses
permissions:
contents: read
steps:
- name: Fetch exact Workspace revision
shell: bash
run: |
set -euo pipefail
ref="${{ gitea.sha }}"
git init .
git remote add origin "https://git.crash.work/ShrinkSDK/Workspace.git"
git fetch --depth=1 origin "$ref"
git checkout --detach FETCH_HEAD
- name: Verify registry, Git tag, and installer consumers
shell: bash
run: |
set -euo pipefail
machine_id_file="/root/.local/share/unity3d/Unity/.machine-id"
if test -s "$machine_id_file"; then
cat "$machine_id_file" > /etc/machine-id
echo "Unity machine identity restored"
fi
git config --global url."https://ghfast.top/https://github.com/".insteadOf "https://github.com/"
bash Tools/UpmConsumerValidation/Validate-PublishedUpmConsumers.sh "$PWD"