diff --git a/.gitea/workflows/unity-verify.yml b/.gitea/workflows/unity-verify.yml index 35b3ab1..99432d8 100644 --- a/.gitea/workflows/unity-verify.yml +++ b/.gitea/workflows/unity-verify.yml @@ -26,6 +26,11 @@ jobs: shell: bash run: | set -eu + 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 unity_bin="$(command -v unity-editor || command -v unity || command -v Unity || true)" test -n "$unity_bin" "$unity_bin" \