Skip to content

Commit 04eabbf

Browse files
[FSSDK-9899] fix: hub, command not found (#536)
* Install hub through Homebrew, task added. * Refractored hub intallation multiple steps into single step
1 parent f4e535d commit 04eabbf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/swift.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ jobs:
5757
- uses: maxim-lobanov/setup-xcode@v1
5858
with:
5959
xcode-version: 14.1.0
60+
- name: Install Hub by Homebrew
61+
run: |
62+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
63+
brew install hub
6064
- id: prepare_for_release
6165
name: Prepare for release
6266
env:
@@ -81,6 +85,10 @@ jobs:
8185
- uses: maxim-lobanov/setup-xcode@v1
8286
with:
8387
xcode-version: 14.1.0
88+
- name: Install Hub by Homebrew
89+
run: |
90+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
91+
brew install hub
8492
- name: Push to cocoapods.org
8593
env:
8694
HOME: 'home/runner'

0 commit comments

Comments
 (0)