Skip to content

Commit

Permalink
[FSSDK-9899] fix: hub, command not found (#536)
Browse files Browse the repository at this point in the history
* Install hub through Homebrew, task added.

* Refractored hub intallation multiple steps into single step
  • Loading branch information
muzahidul-opti authored Jan 4, 2024
1 parent f4e535d commit 04eabbf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ jobs:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 14.1.0
- name: Install Hub by Homebrew
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install hub
- id: prepare_for_release
name: Prepare for release
env:
Expand All @@ -81,6 +85,10 @@ jobs:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 14.1.0
- name: Install Hub by Homebrew
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install hub
- name: Push to cocoapods.org
env:
HOME: 'home/runner'
Expand Down

0 comments on commit 04eabbf

Please sign in to comment.