@@ -57,21 +57,17 @@ jobs:
5757 - uses : maxim-lobanov/setup-xcode@v1
5858 with :
5959 xcode-version : 14.1.0
60- - uses : actions/checkout@v2
61- with :
62- # You should create a personal access token and store it in your repository
63- token : ${{ secrets.CI_USER_TOKEN }}
64- repository : ' optimizely/travisci-tools'
65- path : ' home/runner/travisci-tools'
66- ref : ' master'
67- - name : Install hub
68- shell : bash
69- env :
70- HOME : ' home/runner'
60+ - name : Install Homebrew
61+ run : |
62+ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
63+
64+ - name : Install Hub
65+ run : |
66+ brew install hub
67+
68+ - name : Verify Hub Installation
7169 run : |
72- # installs hub to ~/bin
73- $HOME/travisci-tools/release_github/install_hub.sh
74- echo "$HOME/bin:$HOME/travisci-tools/release_github" >> $GITHUB_PATH
70+ hub version
7571 - id : prepare_for_release
7672 name : Prepare for release
7773 env :
@@ -96,21 +92,17 @@ jobs:
9692 - uses : maxim-lobanov/setup-xcode@v1
9793 with :
9894 xcode-version : 14.1.0
99- - uses : actions/checkout@v2
100- with :
101- # You should create a personal access token and store it in your repository
102- token : ${{ secrets.CI_USER_TOKEN }}
103- repository : ' optimizely/travisci-tools'
104- path : ' home/runner/travisci-tools'
105- ref : ' master'
106- - name : Install hub
107- shell : bash
108- env :
109- HOME : ' home/runner'
95+ - name : Install Homebrew
96+ run : |
97+ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
98+
99+ - name : Install Hub
100+ run : |
101+ brew install hub
102+
103+ - name : Verify Hub Installation
110104 run : |
111- # installs hub to ~/bin
112- $HOME/travisci-tools/release_github/install_hub.sh
113- echo "$HOME/bin:$HOME/travisci-tools/release_github" >> $GITHUB_PATH
105+ hub version
114106 - name : Push to cocoapods.org
115107 env :
116108 HOME : ' home/runner'
0 commit comments