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