Skip to content

Commit

Permalink
Upgrade actions/cache to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
kraenhansen committed Mar 4, 2024
1 parent 98ccd38 commit 079c102
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pr-realm-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:

- name: Restore NPM cache
id: npm-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
Expand Down Expand Up @@ -295,7 +295,7 @@ jobs:

- name: Restore NPM cache
id: npm-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
Expand All @@ -307,7 +307,7 @@ jobs:

- name: Restore React Native cache
if: ${{ matrix.variant.environment == 'react-native' }}
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: '**/Pods'
key: ${{ runner.os }}-${{matrix.variant.environment}}-${{ hashFiles('**/Podfile.lock', './src/**', './vendor/**') }}
Expand Down Expand Up @@ -404,7 +404,7 @@ jobs:

- name: Setup Java Gradle cache for android test app
if: ${{ matrix.variant.os == 'android' }}
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand All @@ -415,7 +415,7 @@ jobs:
- name: Setup Android Emulator cache
if: ${{ matrix.variant.os == 'android' }}
uses: actions/cache@v3
uses: actions/cache@v4
id: avd-cache
with:
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

- name: Restore NPM cache
id: npm-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down

0 comments on commit 079c102

Please sign in to comment.