mirror of
https://github.com/Xevion/Galagan.git
synced 2025-12-07 11: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:
|
unityVersion:
|
||||||
- 2022.3.42f1
|
- 2022.3.42f1
|
||||||
targetPlatform:
|
targetPlatform:
|
||||||
- WebGL
|
# - WebGL
|
||||||
|
# - StandaloneLinux64
|
||||||
|
- StandaloneWindows64
|
||||||
|
# - StandaloneOSX
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
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
|
- name: Build Unity Project
|
||||||
uses: game-ci/unity-builder@v4
|
uses: game-ci/unity-builder@v4
|
||||||
env:
|
env:
|
||||||
@@ -37,5 +47,5 @@ jobs:
|
|||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Build
|
name: galagan-${{ matrix.targetPlatform }}
|
||||||
path: build
|
path: build/${{ matrix.targetPlatform }}
|
||||||
|
|||||||
Reference in New Issue
Block a user