Skip to content

Commit 3c4a80c

Browse files
committed
chore: Use simple cache
1 parent 59f8b18 commit 3c4a80c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
# NOTE: Ideally, the cache should be saved again after each job, but it is not working as expected. The error "Unable to reserve cache with key X. Another job may be creating this cache"
2323
# This produce that the cache is only saved the first time we push to the branch. Every consequent modification produces tasks to be re executed always.
2424
- name: Nx cache
25-
uses: actions/cache/restore@v4
25+
uses: actions/cache@v4
2626
with:
2727
path: .nx
2828
key: nx-cache-${{ github.workflow }}-${{ github.ref }}
@@ -55,8 +55,3 @@ jobs:
5555
- name: Test component
5656
if: github.event_name != 'pull_request'
5757
run: NX_REJECT_UNKNOWN_LOCAL_CACHE=0 pnpm nx run-many --target=test:component --all
58-
- name: Nx cache
59-
uses: actions/cache/save@v4
60-
with:
61-
path: .nx
62-
key: nx-cache-${{ github.workflow }}-${{ github.ref }}

0 commit comments

Comments
 (0)