Skip to content

Commit

Permalink
cache fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BLaZeKiLL committed Oct 4, 2023
1 parent d24685c commit 75648e8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ jobs:
with:
path: Library
key:
Library-${{ matrix.targetPlatform }}-${{ hashFiles('.') }}
Library-${{ matrix.build.target }}-${{ hashFiles('.') }}
restore-keys: |
Library-${{ matrix.targetPlatform }}-
Library-${{ matrix.build.target }}-
Library-
- if: matrix.targetPlatform == 'Android'
- if: matrix.build.target == 'Android'
uses: jlumbroso/[email protected]

- uses: game-ci/unity-builder@v3
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
with:
path: Library
key:
Library-${{ matrix.targetPlatform }}-${{ hashFiles('.') }}
Library-${{ matrix.build.target }}-${{ hashFiles('.') }}
restore-keys: |
Library-${{ matrix.targetPlatform }}-
Library-${{ matrix.build.target }}-
Library-
- if: matrix.targetPlatform == 'Android'
- if: matrix.build.target == 'Android'
uses: jlumbroso/[email protected]

- uses: game-ci/unity-builder@v3
Expand Down Expand Up @@ -65,9 +65,9 @@ jobs:
with:
path: Library
key:
Library-${{ matrix.targetPlatform }}-${{ hashFiles('.') }}
Library-Package-${{ hashFiles('.') }}
restore-keys: |
Library-${{ matrix.targetPlatform }}-
Library-Package-
Library-
- uses: game-ci/unity-builder@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:

- uses: actions/cache@v2
with:
path: ${{ matrix.projectPath }}/Library
key: Library-${{ matrix.projectPath }}
path: Library
key: Library-${{ matrix.testMode }}
restore-keys: |
Library-
Expand Down

0 comments on commit 75648e8

Please sign in to comment.