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"