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: |