build: Upgrade actions/cache to fix CI (#13197)

This commit is contained in:
Iván Ovejero
2025-02-11 17:27:12 +01:00
committed by GitHub
parent 02573b46e0
commit f03e5e7d22
4 changed files with 10 additions and 10 deletions

View File

@@ -42,7 +42,7 @@ jobs:
run: pnpm build:backend run: pnpm build:backend
- name: Cache build artifacts - name: Cache build artifacts
uses: actions/cache/save@v4.0.0 uses: actions/cache/save@v4.2.0
with: with:
path: ./packages/**/dist path: ./packages/**/dist
key: ${{ github.sha }}:db-tests key: ${{ github.sha }}:db-tests
@@ -73,7 +73,7 @@ jobs:
uses: rharkor/caching-for-turbo@v1.5 uses: rharkor/caching-for-turbo@v1.5
- name: Restore cached build artifacts - name: Restore cached build artifacts
uses: actions/cache/restore@v4.0.0 uses: actions/cache/restore@v4.2.0
with: with:
path: ./packages/**/dist path: ./packages/**/dist
key: ${{ github.sha }}:db-tests key: ${{ github.sha }}:db-tests
@@ -107,7 +107,7 @@ jobs:
uses: rharkor/caching-for-turbo@v1.5 uses: rharkor/caching-for-turbo@v1.5
- name: Restore cached build artifacts - name: Restore cached build artifacts
uses: actions/cache/restore@v4.0.0 uses: actions/cache/restore@v4.2.0
with: with:
path: ./packages/**/dist path: ./packages/**/dist
key: ${{ github.sha }}:db-tests key: ${{ github.sha }}:db-tests
@@ -149,7 +149,7 @@ jobs:
uses: rharkor/caching-for-turbo@v1.5 uses: rharkor/caching-for-turbo@v1.5
- name: Restore cached build artifacts - name: Restore cached build artifacts
uses: actions/cache/restore@v4.0.0 uses: actions/cache/restore@v4.2.0
with: with:
path: ./packages/**/dist path: ./packages/**/dist
key: ${{ github.sha }}:db-tests key: ${{ github.sha }}:db-tests

View File

@@ -99,7 +99,7 @@ jobs:
run: pnpm cypress:install run: pnpm cypress:install
- name: Cache build artifacts - name: Cache build artifacts
uses: actions/cache/save@v4.0.0 uses: actions/cache/save@v4.2.0
with: with:
path: | path: |
/github/home/.cache /github/home/.cache
@@ -133,7 +133,7 @@ jobs:
- uses: pnpm/action-setup@v4.0.0 - uses: pnpm/action-setup@v4.0.0
- name: Restore cached pnpm modules - name: Restore cached pnpm modules
uses: actions/cache/restore@v4.0.0 uses: actions/cache/restore@v4.2.0
with: with:
path: | path: |
/github/home/.cache /github/home/.cache

View File

@@ -43,7 +43,7 @@ jobs:
run: pnpm build run: pnpm build
- name: Cache build artifacts - name: Cache build artifacts
uses: actions/cache/save@v4.0.0 uses: actions/cache/save@v4.2.0
with: with:
path: ./packages/**/dist path: ./packages/**/dist
key: ${{ github.sha }}-release:build key: ${{ github.sha }}-release:build
@@ -144,7 +144,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4.1.1 - uses: actions/checkout@v4.1.1
- name: Restore cached build artifacts - name: Restore cached build artifacts
uses: actions/cache/restore@v4.0.0 uses: actions/cache/restore@v4.2.0
with: with:
path: ./packages/**/dist path: ./packages/**/dist
key: ${{ github.sha }}-release:build key: ${{ github.sha }}-release:build

View File

@@ -41,7 +41,7 @@ jobs:
run: pnpm build:backend run: pnpm build:backend
- name: Cache build artifacts - name: Cache build artifacts
uses: actions/cache/save@v4.0.0 uses: actions/cache/save@v4.2.0
with: with:
path: ./packages/**/dist path: ./packages/**/dist
key: ${{ github.sha }}:workflow-tests key: ${{ github.sha }}:workflow-tests
@@ -69,7 +69,7 @@ jobs:
uses: rharkor/caching-for-turbo@v1.5 uses: rharkor/caching-for-turbo@v1.5
- name: Restore cached build artifacts - name: Restore cached build artifacts
uses: actions/cache/restore@v4.0.0 uses: actions/cache/restore@v4.2.0
with: with:
path: ./packages/**/dist path: ./packages/**/dist
key: ${{ github.sha }}:workflow-tests key: ${{ github.sha }}:workflow-tests