Skip to content

Commit b2cbfeb

Browse files
author
Maxim Lobanov
committed
bump package version and update readme; update workflows to trigger on master push
1 parent 9a10447 commit b2cbfeb

File tree

4 files changed

+16
-7
lines changed

4 files changed

+16
-7
lines changed

.github/workflows/test.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Validate 'setup-cocoapods'
22
on:
3+
push:
4+
branches:
5+
- master
36
pull_request:
47
schedule:
58
- cron: 0 0 * * *
@@ -120,7 +123,7 @@ jobs:
120123
- name: setup-cocoapods
121124
uses: ./
122125
with:
123-
version: latest
126+
version: 1.8.4
124127

125128
- name: Validate version
126-
run: pod --version
129+
run: pod --version | grep "1.8.4"

.github/workflows/workflow.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Build task
2-
on: [pull_request]
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
37

48
jobs:
59
Build:

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Action supports two ways to specify Cocoapods version:
44
- Specify particular version using `version` parameter
55
- 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).
66

7+
Action is intended for macOS and Ubuntu platforms.
8+
79
# Available parameters
810
| Parameter name | Description | Supported format |
911
|---------------|-----------------------------------------|----------------------------|
@@ -22,7 +24,7 @@ jobs:
2224
runs-on: macos-latest
2325
steps:
2426
- name: setup-cocoapods
25-
uses: maxim-lobanov/setup-cocoapods@v1.0
27+
uses: maxim-lobanov/setup-cocoapods@v1.1
2628
with:
2729
version: 1.9.0
2830
@@ -31,10 +33,10 @@ jobs:
3133
runs-on: macos-latest
3234
steps:
3335
- name: setup-cocoapods
34-
uses: maxim-lobanov/setup-cocoapods@v1.0
36+
uses: maxim-lobanov/setup-cocoapods@v1.1
3537
with:
3638
podfile-path: myApp/Podfile.lock
3739
```
3840

3941
# License
40-
The scripts and documentation in this project are released under the [MIT License](LICENSE)
42+
The scripts and documentation in this project are released under the [MIT License](LICENSE).

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "setup-cocoapods",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"private": true,
55
"description": "Set up your GitHub Actions workflow with a specific version of Cocoapods",
66
"main": "lib/setup-cocoapods.js",

0 commit comments

Comments
 (0)