Skip to content

Commit 96cafc8

Browse files
committed
build: try cache UniverseLib build
1 parent 70db76e commit 96cafc8

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.github/workflows/dotnet_nightly.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,20 @@ jobs:
3030
with:
3131
dotnet-version: "6.x"
3232
# Run build script
33+
34+
- name: Cache UniverseLib
35+
id: cache-universe-lib-build
36+
uses: actions/cache@v4
37+
env:
38+
cache-name: cache-universe-lib
39+
with:
40+
path: ./UniverseLib/Release
41+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('.git\modules\UniverseLib\HEAD') }}
42+
43+
- if: ${{ steps.cache-universe-lib-build.outputs.cache-hit != 'true' }}
44+
name: Build UniverseLib
45+
run: ./UniverseLib/build.ps1
46+
3347
- name: Build UE
3448
run: ./build_nightly.ps1
3549

build_nightly.ps1

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
cd UniverseLib
2-
.\build.ps1
3-
cd ..
4-
51
# ----------- BepInEx Unity IL2CPP CoreCLR -----------
62
dotnet build src/CinematicUnityExplorer.sln -c Release_BIE_Unity_Cpp -p:IS_CI=true
73
$Path = "Release/CinematicUnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR"

0 commit comments

Comments
 (0)