Skip to content

Commit

Permalink
Add caching to cocoapods publish actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sbihel committed Mar 1, 2024
1 parent 29cac2b commit b14d19a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ jobs:
needs: validation
steps:
- uses: actions/checkout@v4
# Needed because pod trunk push --synchronous clones a massive repo
- name: Cocoapods Cache
uses: actions/cache@v4
with:
path: ~/.cocoapods/repos
key: ${{ runner.os }}-cocoapods
save-always: true

- name: Publish to CocoaPod register
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
Expand Down

0 comments on commit b14d19a

Please sign in to comment.