File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -138,8 +138,9 @@ jobs:
138138 runs-on : ${{ matrix.os }}
139139 container :
140140 image : ${{ matrix.container_image }}
141- volumes : # needed for Alpine aarch64 job: https://github.com/actions/runner/issues/801#issuecomment-2394425757
142- - /:/host
141+ volumes : # needed for Alpine aarch64 job: https://github.com/actions/runner/issues/801#issuecomment-2976165281
142+ - /opt:/opt:rw,rshared
143+ - /opt:/__e/node20:ro,rshared
143144 timeout-minutes : 90
144145 env :
145146 MACOSX_DEPLOYMENT_TARGET : ${{ matrix.arch == 'arm64' && '11.0' || '10.12' }}
@@ -166,14 +167,12 @@ jobs:
166167 ln -s /usr/lib/llvm19 $(dirname $(pwd))/llvm
167168 ../llvm/bin/llvm-config --version
168169
169- # see https://github.com/actions/runner/issues/801#issuecomment-2394425757
170+ # see https://github.com/actions/runner/issues/801#issuecomment-2976165281
170171 if [[ '${{ matrix.arch }}' == aarch64 ]]; then
171- apk add nodejs
172- sed -i "s:ID=alpine:ID=NotpineForGHA:" /etc/os-release
173- cd /host/home/runner/runners/*/externals/
174- rm -rf node20/*
175- mkdir node20/bin
176- ln -s /usr/bin/node node20/bin/node
172+ sed -i "/^ID=/s/alpine/NotpineForGHA/" /etc/os-release
173+ apk add nodejs --update-cache
174+ mkdir /opt/bin
175+ ln -s /usr/bin/node /opt/bin/node
177176 fi
178177 fi
179178 - uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments