ci: Upgrade cache@v2 to cache@v3

This commit is contained in:
Marc Rousavy 2023-09-21 19:10:22 +02:00
parent cb4d64c671
commit 96fba0b925
4 changed files with 12 additions and 12 deletions

View File

@ -39,7 +39,7 @@ jobs:
id: yarn-cache-dir-path id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)" run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Restore node_modules from cache - name: Restore node_modules from cache
uses: actions/cache@v2 uses: actions/cache@v3
id: yarn-cache id: yarn-cache
with: with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@ -52,7 +52,7 @@ jobs:
run: yarn install --frozen-lockfile --cwd example run: yarn install --frozen-lockfile --cwd example
- name: Restore Gradle cache - name: Restore Gradle cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: | path: |
~/.gradle/caches ~/.gradle/caches
@ -81,7 +81,7 @@ jobs:
id: yarn-cache-dir-path id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)" run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Restore node_modules from cache - name: Restore node_modules from cache
uses: actions/cache@v2 uses: actions/cache@v3
id: yarn-cache id: yarn-cache
with: with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@ -96,7 +96,7 @@ jobs:
run: yarn remove react-native-worklets-core --cwd example run: yarn remove react-native-worklets-core --cwd example
- name: Restore Gradle cache - name: Restore Gradle cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: | path: |
~/.gradle/caches ~/.gradle/caches

View File

@ -32,7 +32,7 @@ jobs:
id: yarn-cache-dir-path id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)" run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Restore node_modules from cache - name: Restore node_modules from cache
uses: actions/cache@v2 uses: actions/cache@v3
id: yarn-cache id: yarn-cache
with: with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@ -53,7 +53,7 @@ jobs:
bundler-cache: true bundler-cache: true
- name: Restore Pods cache - name: Restore Pods cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: | path: |
example/ios/Pods example/ios/Pods
@ -91,7 +91,7 @@ jobs:
id: yarn-cache-dir-path id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)" run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Restore node_modules from cache - name: Restore node_modules from cache
uses: actions/cache@v2 uses: actions/cache@v3
id: yarn-cache id: yarn-cache
with: with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@ -114,7 +114,7 @@ jobs:
bundler-cache: true bundler-cache: true
- name: Restore Pods cache - name: Restore Pods cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: | path: |
example/ios/Pods example/ios/Pods

View File

@ -32,7 +32,7 @@ jobs:
id: yarn-cache-dir-path id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)" run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Restore node_modules from cache - name: Restore node_modules from cache
uses: actions/cache@v2 uses: actions/cache@v3
id: yarn-cache id: yarn-cache
with: with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@ -45,7 +45,7 @@ jobs:
run: yarn install --frozen-lockfile --cwd ../example run: yarn install --frozen-lockfile --cwd ../example
- name: Restore Gradle cache - name: Restore Gradle cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: | path: |
~/.gradle/caches ~/.gradle/caches

View File

@ -45,7 +45,7 @@ jobs:
id: yarn-cache-dir-path id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)" run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Restore node_modules from cache - name: Restore node_modules from cache
uses: actions/cache@v2 uses: actions/cache@v3
id: yarn-cache id: yarn-cache
with: with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@ -83,7 +83,7 @@ jobs:
id: yarn-cache-dir-path id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)" run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Restore node_modules from cache - name: Restore node_modules from cache
uses: actions/cache@v2 uses: actions/cache@v3
id: yarn-cache id: yarn-cache
with: with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} path: ${{ steps.yarn-cache-dir-path.outputs.dir }}