Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxim-lobanov/setup-cocoapods
Set up your GitHub Actions workflow with a specific version of Cocoapods
https://github.com/maxim-lobanov/setup-cocoapods
Last synced: 6 days ago
JSON representation
Set up your GitHub Actions workflow with a specific version of Cocoapods
- Host: GitHub
- URL: https://github.com/maxim-lobanov/setup-cocoapods
- Owner: maxim-lobanov
- License: mit
- Created: 2020-03-22T05:54:20.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-27T13:42:37.000Z (12 months ago)
- Last Synced: 2024-10-26T09:31:06.900Z (13 days ago)
- Language: TypeScript
- Size: 403 KB
- Stars: 31
- Watchers: 2
- Forks: 6
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-actions - Setup Cocoapods - Setup specific version of Cocoapods. (Community Resources / Utility)
- fucking-awesome-actions - Setup Cocoapods - Setup specific version of Cocoapods. (Community Resources / Utility)
- awesome-workflows - Setup Cocoapods - Setup specific version of Cocoapods. (Community Resources / Utility)
README
# setup-cocoapods
This action sets up specific version of Cocoapods in GitHub Actions workflow.
Action supports two ways to specify Cocoapods version:
- Specify particular version using `version` parameter
- Specify path to the `Podfile.lock` file using `podfile-path` parameter. In this case, version of Cocoapods [will be parsed from Podfile.lock](https://github.com/maxim-lobanov/setup-cocoapods/blob/master/__tests__/podfile-example/Podfile.lock#L16).Action is intended for macOS and Ubuntu platforms.
# Available parameters
| Parameter name | Description | Supported format |
|---------------|-----------------------------------------|----------------------------|
| version | Specify version of Cocoapods to install | `latest`, `1.5.2`, `1.9.1` |
| podfile-path | Specify path to `Podfile.lock` file to determine Cocoapods version dynamically | `myApp/Podfile.lock` |At the same time, only one parameter should be specified.
# Usage
```
name: CI
on: [push]
jobs:
build:
name: Setup Cocoapods based on provided version
runs-on: macos-latest
steps:
- name: setup-cocoapods
uses: maxim-lobanov/setup-cocoapods@v1
with:
version: 1.9.0build:
name: Setup Cocoapods based on Podfile.lock
runs-on: macos-latest
steps:
- name: setup-cocoapods
uses: maxim-lobanov/setup-cocoapods@v1
with:
podfile-path: myApp/Podfile.lock
```# License
The scripts and documentation in this project are released under the [MIT License](LICENSE).