mirror of
https://github.com/Xevion/Galagan.git
synced 2025-12-06 03:15:14 -06:00
windows only, add library cache, tune build artifact
This commit is contained in:
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user