-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e2dd0d1
commit f64cdaf
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |