2222 container :
2323 image : zephyrprojectrtos/ci:v0.18.4
2424 options : ' --entrypoint /bin/bash'
25- volumes :
26- - /repo-cache/zephyrproject:/github/cache/zephyrproject
2725 outputs :
2826 subset : ${{ steps.output-services.outputs.subset }}
2927 size : ${{ steps.output-services.outputs.size }}
4139 if : github.event_name == 'pull_request_target'
4240 continue-on-error : true
4341 run : |
44- git clone --shared /github /cache/zephyrproject/zephyr .
42+ git clone --shared /repo-cache /cache/zephyrproject/zephyr .
4543 git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
4644
4745 - name : Checkout
@@ -114,8 +112,6 @@ jobs:
114112 container :
115113 image : zephyrprojectrtos/ci:v0.18.4
116114 options : ' --entrypoint /bin/bash'
117- volumes :
118- - /repo-cache/zephyrproject:/github/cache/zephyrproject
119115 strategy :
120116 fail-fast : false
121117 matrix :
@@ -133,7 +129,7 @@ jobs:
133129 - name : Clone cached Zephyr repository
134130 continue-on-error : true
135131 run : |
136- git clone --shared /github /cache/zephyrproject/zephyr .
132+ git clone --shared /repo-cache /cache/zephyrproject/zephyr .
137133 git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
138134
139135 - name : Checkout
@@ -156,7 +152,7 @@ jobs:
156152
157153 west init -l . || true
158154 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)
160156 west forall -c 'git reset --hard HEAD'
161157
162158 - name : Check Environment
0 commit comments