Skip to content

Commit

Permalink
Add caching
Browse files Browse the repository at this point in the history
  • Loading branch information
szymmirr authored Nov 21, 2023
1 parent fe11bc8 commit b614e29
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/unity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- uses: actions/cache@v3
with:
path: Library
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
restore-keys: |
Library-
- name: Unity Builder
uses: game-ci/[email protected]
env:
Expand Down Expand Up @@ -55,6 +62,13 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- uses: actions/cache@v3
with:
path: Library
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
restore-keys: |
Library-
- name: Unity Builder
uses: game-ci/[email protected]
env:
Expand Down

0 comments on commit b614e29

Please sign in to comment.