Skip to content

Commit

Permalink
Merge pull request #31 from XYOracleNetwork/develop
Browse files Browse the repository at this point in the history
add caching to pod build and release
  • Loading branch information
Phillip Lorenzo authored Mar 3, 2020
2 parents a8edb93 + aa5f543 commit b0ec2b4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ jobs:
run: |
gem install cocoapods --pr
pod repo update
- name: Cache pod dependencies
uses: actions/cache@v1
with:
path: Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
- name: install
run: |
pod deintegrate
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/sdkBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ jobs:
run: |
pod deintegrate
pod install
- name: Cache pod dependencies
uses: actions/cache@v1
with:
path: Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
- name: Example Build
run: |
cd Example
Expand Down

0 comments on commit b0ec2b4

Please sign in to comment.