Skip to content

Commit 1de18b2

Browse files
committed
chore: fix caching in tav workflow
1 parent 302f079 commit 1de18b2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/test-all-versions.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@ jobs:
3333
run: npm ci
3434
- name: Build
3535
run: npm run compile
36+
- name: Snapshot build state
37+
run: tar -czvf nx-snapshot.tar.gz ./.nx
3638
- name: Upload Build Artifacts
3739
uses: actions/upload-artifact@v4
3840
with:
3941
name: tav-build-cache-${{ github.run_number }}
40-
path: .nx/cache
42+
path: nx-snapshot.tar.gz
4143
retention-days: 1
4244

4345
tav:
@@ -169,7 +171,7 @@ jobs:
169171
uses: actions/download-artifact@v4
170172
with:
171173
name: tav-build-cache-${{ github.run_number }}
172-
path: .nx/cache
174+
path: .nx
173175
- name: Build
174176
run: npm run compile
175177
- name: Run test-all-versions

0 commit comments

Comments
 (0)