Skip to content

Commit

Permalink
[Github Actions] Change: Update actions to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
guhungry committed Feb 22, 2024
1 parent c87052b commit d76a90e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/test-and-rebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

- name: Restore cache yarn
id: cache-yarn
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.yarn
key: yarn-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/yarn.lock') }}
Expand All @@ -46,14 +46,14 @@ jobs:
- name: Restore cache gradle wrapper
id: cache-gradle-wrapper
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.gradle/wrapper
key: gradle-wrapper-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/gradle-wrapper.properties') }}

- name: Restore cache gradle cache
id: cache-gradle-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: gradle-cache-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/build.gradle') }}-${{ hashFiles('**/settings.gradle') }}
Expand All @@ -67,7 +67,7 @@ jobs:
- name: Restore cache Pods
id: cache-pods
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: example/ios/Pods
key: pods-${{ hashFiles('**/Podfile.lock') }}
Expand All @@ -85,15 +85,15 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup node 20.11
uses: actions/setup-node@v4
with:
node-version: '20.11'

- name: Restore cache yarn
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.yarn
key: yarn-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/yarn.lock') }}
Expand All @@ -111,7 +111,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup node 20.11
uses: actions/setup-node@v4
Expand Down Expand Up @@ -166,21 +166,21 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup node 20.11
uses: actions/setup-node@v4
with:
node-version: '20.11'

- name: Restore cache yarn
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.yarn
key: yarn-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/yarn.lock') }}

- name: Restore cache Pods
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: example/ios/Pods
key: pods-${{ hashFiles('**/Podfile.lock') }}
Expand Down

0 comments on commit d76a90e

Please sign in to comment.