File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,13 @@ inputs:
88
99runs :
1010 using : composite
11- env :
12- cache-key : nx-cache
1311 steps :
1412 - name : Restore Nx cache
1513 uses : actions/cache/restore@v4
1614 id : cache-restore
1715 with :
1816 path : .nx
19- key : ${{ env.cache-key }}
17+ key : nx-cache
2018 - name : Derive appropriate SHAs for base and head for `nx affected` commands
2119 if : github.event_name == 'pull_request'
2220 uses : nrwl/nx-set-shas@v2
@@ -33,11 +31,11 @@ runs:
3331 continue-on-error : true
3432 run : |
3533 gh extension install actions/gh-actions-cache
36- gh actions-cache delete "${{ env.cache-key }} " --confirm
34+ gh actions-cache delete "nx-cache " --confirm
3735 env :
3836 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3937 - name : Save Nx cache
4038 uses : actions/cache/save@v4
4139 with :
4240 path : .nx
43- key : ${{ env.cache-key }}
41+ key : nx-cache
Original file line number Diff line number Diff line change 3131 build :
3232 name : Build
3333 runs-on : ubuntu-latest
34+ needs : lint
3435 env :
3536 cache-key : nx-cache
3637 steps :
You can’t perform that action at this time.
0 commit comments