@@ -57,21 +57,17 @@ jobs:
57
57
- uses : maxim-lobanov/setup-xcode@v1
58
58
with :
59
59
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
71
69
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
75
71
- id : prepare_for_release
76
72
name : Prepare for release
77
73
env :
@@ -96,21 +92,17 @@ jobs:
96
92
- uses : maxim-lobanov/setup-xcode@v1
97
93
with :
98
94
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
110
104
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
114
106
- name : Push to cocoapods.org
115
107
env :
116
108
HOME : ' home/runner'
0 commit comments