File tree Expand file tree Collapse file tree 2 files changed +16
-13
lines changed Expand file tree Collapse file tree 2 files changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -32,13 +32,14 @@ jobs:
32
32
env :
33
33
CFLAGS : " -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include"
34
34
steps :
35
- - uses : actions/checkout@v1
36
- name : checkout
37
- with :
38
- submodules : true
39
- clean : true
40
- fetch-depth : 1
41
- token : ${{ secrets.CI_TOKEN }}
35
+ - uses : actions/checkout@v2
36
+ name : checkout repo
37
+ - name : checkout submodules
38
+ shell : bash
39
+ run : |
40
+ auth_header="$(git config --local --get http.https://github.com/.extraheader)"
41
+ git submodule sync --recursive
42
+ git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
42
43
- name : install dependencies
43
44
run : |
44
45
set -e
Original file line number Diff line number Diff line change @@ -12,12 +12,14 @@ jobs:
12
12
build :
13
13
runs-on : macOS-10.14
14
14
steps :
15
- - uses : actions/checkout@v1
16
- name : checkout
17
- with :
18
- submodules : true
19
- clean : true
20
- fetch-depth : 1
15
+ - uses : actions/checkout@v2
16
+ name : checkout repo
17
+ - name : checkout submodules
18
+ shell : bash
19
+ run : |
20
+ auth_header="$(git config --local --get http.https://github.com/.extraheader)"
21
+ git submodule sync --recursive
22
+ git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
21
23
- name : install
22
24
run : |
23
25
brew install ninja llvm
You can’t perform that action at this time.
0 commit comments