Skip to content

Commit

Permalink
Updated CI, PR and Release to update Cocoapods to the latest before c…
Browse files Browse the repository at this point in the history
…ontinuing.

It needs to be within the same job steps.
  • Loading branch information
x-NR-x committed Nov 2, 2023
1 parent 3782db2 commit 0875231
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,16 @@ concurrency:
cancel-in-progress: true

jobs:
update:
name: "CocoaPods update"
runs-on: macOS-12

steps:
- uses: actions/checkout@v3

- name: Updating CocoaPods
run: gem install cocoapods

build:
name: "CocoaPods linting"
runs-on: macOS-12

steps:
- uses: actions/checkout@v3

- name: Updating Cocoapods
run: gem install cocoapods

- name: Updating CocoaPods repo
run: pod repo update

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Updating Cocoapods
run: gem install cocoapods

- name: Updating CocoaPods repo
run: pod repo update

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: git pull

- name: Updating Cocoapods
run: gem install cocoapods

- name: Updating CocoaPods repo
run: pod repo update
Expand Down

0 comments on commit 0875231

Please sign in to comment.