Skip to content

Commit f4e6010

Browse files
author
Maxim Lobanov
committed
Update readme with new parameters
1 parent e985cfe commit f4e6010

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
# setup-cocoapods
22
This action sets up specific version of Cocoapods in GitHub Actions workflow.
3+
Action supports two ways to specify Cocoapods version:
4+
- Specify particular version using `version` parameter
5+
- 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).
36

47
# Available parameters
58
| Parameter | Description | Supported format |
69
|---------------|-----------------------------------------|----------------------------|
710
| version | Specify version of Cocoapods to install | `latest`, `1.5.2`, `1.9.1` |
811
| podfile-path | Specify path to `Podfile.lock` file to determine Cocoapods version dynamically | `myApp/Podfile.lock` |
12+
913
Only one parameter `version` or `podfile-path` should be specified at the same time.
1014

1115
# Usage

0 commit comments

Comments
 (0)