Skip to content

Commit

Permalink
bump package version and update readme; update workflows to trigger o…
Browse files Browse the repository at this point in the history
…n master push
  • Loading branch information
Maxim Lobanov committed Mar 24, 2020
1 parent 9a10447 commit b2cbfeb
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Validate 'setup-cocoapods'
on:
push:
branches:
- master
pull_request:
schedule:
- cron: 0 0 * * *
Expand Down Expand Up @@ -120,7 +123,7 @@ jobs:
- name: setup-cocoapods
uses: ./
with:
version: latest
version: 1.8.4

- name: Validate version
run: pod --version
run: pod --version | grep "1.8.4"
6 changes: 5 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Build task
on: [pull_request]
on:
push:
branches:
- master
pull_request:

jobs:
Build:
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ 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 |
|---------------|-----------------------------------------|----------------------------|
Expand All @@ -22,7 +24,7 @@ jobs:
runs-on: macos-latest
steps:
- name: setup-cocoapods
uses: maxim-lobanov/setup-cocoapods@v1.0
uses: maxim-lobanov/setup-cocoapods@v1.1
with:
version: 1.9.0
Expand All @@ -31,10 +33,10 @@ jobs:
runs-on: macos-latest
steps:
- name: setup-cocoapods
uses: maxim-lobanov/setup-cocoapods@v1.0
uses: maxim-lobanov/setup-cocoapods@v1.1
with:
podfile-path: myApp/Podfile.lock
```

# License
The scripts and documentation in this project are released under the [MIT License](LICENSE)
The scripts and documentation in this project are released under the [MIT License](LICENSE).
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "setup-cocoapods",
"version": "1.0.0",
"version": "1.1.0",
"private": true,
"description": "Set up your GitHub Actions workflow with a specific version of Cocoapods",
"main": "lib/setup-cocoapods.js",
Expand Down

0 comments on commit b2cbfeb

Please sign in to comment.