22
22
container :
23
23
image : zephyrprojectrtos/ci:v0.18.4
24
24
options : ' --entrypoint /bin/bash'
25
- volumes :
26
- - /repo-cache/zephyrproject:/github/cache/zephyrproject
27
25
outputs :
28
26
subset : ${{ steps.output-services.outputs.subset }}
29
27
size : ${{ steps.output-services.outputs.size }}
41
39
if : github.event_name == 'pull_request_target'
42
40
continue-on-error : true
43
41
run : |
44
- git clone --shared /github /cache/zephyrproject/zephyr .
42
+ git clone --shared /repo-cache /cache/zephyrproject/zephyr .
45
43
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
46
44
47
45
- name : Checkout
@@ -114,8 +112,6 @@ jobs:
114
112
container :
115
113
image : zephyrprojectrtos/ci:v0.18.4
116
114
options : ' --entrypoint /bin/bash'
117
- volumes :
118
- - /repo-cache/zephyrproject:/github/cache/zephyrproject
119
115
strategy :
120
116
fail-fast : false
121
117
matrix :
@@ -133,7 +129,7 @@ jobs:
133
129
- name : Clone cached Zephyr repository
134
130
continue-on-error : true
135
131
run : |
136
- git clone --shared /github /cache/zephyrproject/zephyr .
132
+ git clone --shared /repo-cache /cache/zephyrproject/zephyr .
137
133
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
138
134
139
135
- name : Checkout
@@ -156,7 +152,7 @@ jobs:
156
152
157
153
west init -l . || true
158
154
west config --global update.narrow true
159
- west update --path-cache /github /cache/zephyrproject 2>&1 1> west.update.log || west update --path-cache /github /cache/zephyrproject 2>&1 1> west.update.log || ( rm -rf ../modules && west update --path-cache /github /cache/zephyrproject)
155
+ west update --path-cache /repo-cache /cache/zephyrproject 2>&1 1> west.update.log || west update --path-cache /repo-cache /cache/zephyrproject 2>&1 1> west.update.log || ( rm -rf ../modules && west update --path-cache /repo-cache /cache/zephyrproject)
160
156
west forall -c 'git reset --hard HEAD'
161
157
162
158
- name : Check Environment
0 commit comments