Skip to content

Commit f7171d6

Browse files
authored
Update main.yml
1 parent a0e837c commit f7171d6

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
projectPath:
13-
- Samples/AppKit Sample
13+
- 'Samples/AppKit Sample'
1414
targetPlatform:
1515
- StandaloneOSX # Build a macOS standalone (Intel 64-bit).
1616
# - StandaloneWindows # Build a Windows standalone.
@@ -26,8 +26,8 @@ jobs:
2626
lfs: true
2727
- uses: actions/cache@v3
2828
with:
29-
path: Library
30-
key: Library-${{ matrix.targetPlatform }}
29+
path: ${{ matrix.projectPath }}/Library
30+
key: Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}
3131
restore-keys: Library-
3232
- if: matrix.targetPlatform == 'Android'
3333
uses: jlumbroso/free-disk-space@v1.3.1
@@ -37,6 +37,7 @@ jobs:
3737
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
3838
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
3939
with:
40+
projectPath: ${{ matrix.projectPath }}
4041
targetPlatform: ${{ matrix.targetPlatform }}
4142
- uses: actions/upload-artifact@v3
4243
with:

0 commit comments

Comments
 (0)