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 d58065f commit eef6a47
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,20 @@ jobs:
git reset --hard
git clean -fd
- name: Install Unity
uses: game-ci/unity-install@v2
with:
version: 2022.3.27f1 # Specify the Unity version you need
modules: windows # Specify the modules you need

- name: Build Unity Project
uses: kuler90/[email protected]
with:
project-path: ${{ github.workspace }} # Default path to your Unity project
build-target: StandaloneWindows64 # Required build target platform
build-path: ./build # Path to build output
unity-path: ${{ github.workspace }}/Unity/Hub/Editor/2022.3.27f1/Editor/Unity # Correct path for the installed Unity version
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-version: 1.0.0 # Set application version
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
Expand Down

0 comments on commit eef6a47

Please sign in to comment.