diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index ddab7a1c..c6665d63 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -57,6 +57,17 @@ jobs: - uses: maxim-lobanov/setup-xcode@v1 with: xcode-version: 14.1.0 + - name: Install Homebrew + run: | + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + + - name: Install Hub + run: | + brew install hub + + - name: Verify Hub Installation + run: | + hub version - id: prepare_for_release name: Prepare for release env: @@ -81,6 +92,17 @@ jobs: - uses: maxim-lobanov/setup-xcode@v1 with: xcode-version: 14.1.0 + - name: Install Homebrew + run: | + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + + - name: Install Hub + run: | + brew install hub + + - name: Verify Hub Installation + run: | + hub version - name: Push to cocoapods.org env: HOME: 'home/runner'