From d7ba2009f3aeb6236111cb20b6b40d67657e21fd Mon Sep 17 00:00:00 2001 From: Ivan Murzak Date: Sun, 24 May 2026 01:24:45 -0700 Subject: [PATCH] ci: bump installer export to unity-builder@v5 + allowDirtyBuild v4 refused a dirty working tree for semantic versioning, breaking the installer export on freshly-migrated repos. We version the installer from package.json (via PackageExporter), not git, so allowDirtyBuild is correct. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/release.yml-sample | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml-sample b/.github/workflows/release.yml-sample index 8c9cb62..e2ae5b3 100644 --- a/.github/workflows/release.yml-sample +++ b/.github/workflows/release.yml-sample @@ -150,7 +150,7 @@ jobs: echo "Cleaned Unity artifacts and reset tracked files" - name: Export Unity Package - uses: game-ci/unity-builder@v4 + uses: game-ci/unity-builder@v5 env: UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} @@ -163,6 +163,9 @@ jobs: buildsPath: build buildMethod: YOUR_PACKAGE_ID.Installer.PackageExporter.ExportPackage customParameters: -CI true -GITHUB_ACTIONS true + # Installer version comes from package.json (via PackageExporter), not git; + # allowDirtyBuild avoids unity-builder@semantic refusing the post-test working tree. + allowDirtyBuild: true - name: Upload Unity Package as artifact uses: actions/upload-artifact@v4