From d58065f50318ac4cbffb630d0d8b8ad5174379bc Mon Sep 17 00:00:00 2001 From: pyoneerC Date: Thu, 26 Sep 2024 11:44:02 -0300 Subject: [PATCH] game ci --- .github/workflows/main.yaml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index c33f1dc..1e6387d 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -1,9 +1,9 @@ name: Build Unity Project on: - #push: - #branches: - #- main + push: + branches: + - main jobs: build: @@ -19,15 +19,14 @@ jobs: git clean -fd - name: Build Unity Project - uses: game-ci/unity-builder@v4 - env: - UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} - UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} - UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} + uses: kuler90/build-unity@v1.0.5 with: - targetPlatform: StandaloneWindows64 - buildName: SubnauticaIBWindows - buildsPath: ./build + project-path: ${{ github.workspace }} # Default path to your Unity project + build-target: StandaloneWindows64 # Required build target platform + build-path: ./build # Path to build output + build-number: ${{ github.run_number }} # Set application build number + build-defines: RELEASE_VERSION;ENG_VERSION # Set scripting define symbols + build-options: CompressWithLz4HC # Additional build options - name: Zip Build Output run: |