File tree Expand file tree Collapse file tree 2 files changed +4
-11
lines changed
Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -109,9 +109,6 @@ jobs:
109109 base : ${{ github.event.pull_request.base.sha }}
110110 head : ${{ env.HEAD_COMMIT }}
111111
112- - name : Cleanup NX cache
113- run : yarn nx reset
114-
115112 - name : Build packages
116113 run : yarn build
117114
Original file line number Diff line number Diff line change 1010env :
1111 HEAD_COMMIT : ${{ github.event.inputs.commit || github.sha }}
1212
13- NX_CACHE_RESTORE_KEYS : |
14- nx-Linux-${{ github.ref }}-${{ github.event.inputs.commit || github.sha }}
15- nx-Linux-${{ github.ref }}
16- nx-Linux
13+ NX_CACHE_KEY : nx-Linux-${{ github.ref }}
1714
1815# Cancel in progress workflows on pull_requests.
1916# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
@@ -39,12 +36,11 @@ jobs:
3936 - name : Install dependencies
4037 run : yarn install --ignore-engines --frozen-lockfile
4138
42- - name : NX cache
39+ - name : Restore NX cache
4340 uses : actions/cache/restore@v5
4441 with :
45- path : .nxcache
46- key : nx-Linux-${{ github.ref }}-${{ env.HEAD_COMMIT }}
47- restore-keys : ${{ env.NX_CACHE_RESTORE_KEYS }}
42+ path : .nx
43+ key : ${{ env.NX_CACHE_KEY }}
4844
4945 - name : Build packages
5046 run : yarn build
You can’t perform that action at this time.
0 commit comments