Skip to content

Commit

Permalink
Add pod-install action
Browse files Browse the repository at this point in the history
  • Loading branch information
levieggertcru committed Jul 17, 2024
1 parent e2dd0d1 commit f64cdaf
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/actions/pod-install/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: 'Run Cocoapods Pod Install'
description: 'This action contains steps for running pod install on a project.'
runs:
using: "composite"
steps:
- name: Select Xcode Version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.4.0'
# Required for KotlinMultiplatform
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version-file: ".java-version"
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Cache Cocoapods
uses: actions/cache@v4
with:
path: ~/.cocoapods/repos
key: ${{ runner.os }}-cocoapods-${{ github.sha }}
restore-keys: ${{ runner.os }}-cocoapods-
- name: Cache Konan
uses: actions/cache@v4
with:
path: ~/.konan
key: ${{ runner.os }}-konan-${{ github.sha }}
restore-keys: ${{ runner.os }}-konan-
- name: Pod install
shell: bash
run: bundle exec pod install --repo-update

0 comments on commit f64cdaf

Please sign in to comment.