Skip to content

Commit 1fca853

Browse files
committed
Cache build output
1 parent bcc12fa commit 1fca853

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ jobs:
5959
Library-${{ matrix.targetPlatform }}-
6060
Library-
6161
62+
- name: Cache Build Output
63+
uses: actions/cache@v4
64+
with:
65+
path: build
66+
key: Build-${{ matrix.targetPlatform }}-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
67+
restore-keys: |
68+
Build-${{ matrix.targetPlatform }}-
69+
6270
- run: echo "::add-mask::${{ secrets.LICENSE_SERVER_URL }}"
6371

6472
- uses: game-ci/unity-builder@v4

0 commit comments

Comments
 (0)