Skip to content

Commit

Permalink
chore: cache cocoapods
Browse files Browse the repository at this point in the history
  • Loading branch information
kingisaac95 committed Oct 4, 2023
1 parent ab5e460 commit b3cb77f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: build-apps
on:
push:
branches:
- 'v2' # @TODO: change branch to master after release of v2
- 'v2'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -68,6 +68,14 @@ jobs:
- name: Install dependencies
run: npm install

- name: Cache cocoapods
uses: actions/cache@v3
with:
path: /ios/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
- name: Install pod dependencies
run: |
cd ios
Expand Down

0 comments on commit b3cb77f

Please sign in to comment.