Skip to content

Commit 4645750

Browse files
committed
add comment
1 parent 6e5251d commit 4645750

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ jobs:
179179
with:
180180
path: node_modules/.cache/nx
181181
key: nx-${{ runner.os }}-${{ github.ref }}-${{ env.HEAD_COMMIT }}
182+
# GH will use the first restore-key it finds that matches
183+
# So it will start by looking for one from the same branch, else take the newest one it can find elsewhere
182184
restore-keys: |
183185
nx-${{ runner.os }}-${{ github.ref }}-${{ env.HEAD_COMMIT }}
184186
nx-${{ runner.os }}-${{ github.ref }}

0 commit comments

Comments
 (0)