diff --git a/.github/workflows/unity.yml b/.github/workflows/unity.yml index db61f27..5730a80 100644 --- a/.github/workflows/unity.yml +++ b/.github/workflows/unity.yml @@ -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/unity-builder@v4.0.1 env: @@ -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/unity-builder@v4.0.1 env: