From d80c2374f9e0b9fc60ccabe1e0456db39791f3ec Mon Sep 17 00:00:00 2001 From: Lachee Date: Fri, 16 May 2025 19:21:54 +1000 Subject: [PATCH] tweaked build script to be able to specify unity version --- .gitea/workflows/build-latest-image.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/build-latest-image.yaml b/.gitea/workflows/build-latest-image.yaml index b701c9a..137165f 100644 --- a/.gitea/workflows/build-latest-image.yaml +++ b/.gitea/workflows/build-latest-image.yaml @@ -31,6 +31,7 @@ jobs: runs-on: ubuntu-latest env: DOCKER_REGISTRY: docker.lakes.house/ + UNITY_VERSION: ${{ github.event.inputs.unity_version }} strategy: matrix: @@ -55,6 +56,7 @@ jobs: password: ${{ secrets.DOCKER_PASSWORD }} - name: Get Unity Version + if: ${{ github.event.inputs.unity_version == '' }} run: | VERSION=$(head -n 1 versions.txt) echo "UNITY_VERSION=$VERSION" >> $GITHUB_ENV