-
Notifications
You must be signed in to change notification settings - Fork 127
40 lines (35 loc) · 1.02 KB
/
update_pods.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Update Cocoapods Dependencies
on:
push:
branches:
- dependabot/npm_and_yarn/**
pull_request:
branches:
- dependabot/npm_and_yarn/**
jobs:
run:
name: Run pod install
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GT }}
ref: ${{ github.head_ref }}
- name: Install Packages
run: yarn install --non-interactive --frozen-lockfile
- name: Cache node_modules and Pods
uses: actions/cache@v3
with:
path: |
node_modules
ios/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-pods-
- name: Install Cocoapods Packages
run: pushd ios && pod install --repo-update --verbose && popd
- uses: stefanzweifel/[email protected]
with:
commit_message: Bump Cocoapods Packages
branch: ${{ github.head_ref }}
token: ${{ secrets.GT }}