Skip to content

Commit

Permalink
game ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pyoneerC committed Sep 26, 2024
1 parent d545203 commit d58065f
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Build Unity Project

on:
#push:
#branches:
#- main
push:
branches:
- main

jobs:
build:
Expand All @@ -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/[email protected]
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: |
Expand Down

0 comments on commit d58065f

Please sign in to comment.