From b2cbfeb87e3b2b1c7fd27f3233da7a4290104722 Mon Sep 17 00:00:00 2001 From: Maxim Lobanov Date: Tue, 24 Mar 2020 21:32:45 +0300 Subject: [PATCH] bump package version and update readme; update workflows to trigger on master push --- .github/workflows/test.yml | 7 +++++-- .github/workflows/workflow.yml | 6 +++++- README.md | 8 +++++--- package.json | 2 +- 4 files changed, 16 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a3e1e01..beac3ce 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,8 @@ name: Validate 'setup-cocoapods' on: + push: + branches: + - master pull_request: schedule: - cron: 0 0 * * * @@ -120,7 +123,7 @@ jobs: - name: setup-cocoapods uses: ./ with: - version: latest + version: 1.8.4 - name: Validate version - run: pod --version \ No newline at end of file + run: pod --version | grep "1.8.4" \ No newline at end of file diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index ffd4ae8..c21e9ca 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -1,5 +1,9 @@ name: Build task -on: [pull_request] +on: + push: + branches: + - master + pull_request: jobs: Build: diff --git a/README.md b/README.md index 847c7d7..16e0114 100644 --- a/README.md +++ b/README.md @@ -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 | |---------------|-----------------------------------------|----------------------------| @@ -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 @@ -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). diff --git a/package.json b/package.json index 0a8c1ee..d7482a3 100644 --- a/package.json +++ b/package.json @@ -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",