windows only, add library cache, tune build artifact

This commit is contained in:
2024-09-28 15:53:28 -05:00
parent 5a117eb2c2
commit d357ae793e

View File

@@ -17,12 +17,22 @@ jobs:
unityVersion:
- 2022.3.42f1
targetPlatform:
- WebGL
# - WebGL
# - StandaloneLinux64
- StandaloneWindows64
# - StandaloneOSX
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/cache@v3
with:
path: ./Galagan/Library
key: ${{ runner.os }}-Library-${{ hashFiles('./Galagan/ProjectSettings/ProjectSettings.asset') }}
restore-keys: |
${{ runner.os }}-Library-
- name: Build Unity Project
uses: game-ci/unity-builder@v4
env:
@@ -37,5 +47,5 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: Build
path: build
name: galagan-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}