File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -203,9 +203,21 @@ jobs:
203
203
steps :
204
204
- name : Prerequisites
205
205
run : |
206
- dpkg --add-architecture amd64 # For 64-bit Node.js, for actions.
206
+ prerequisites=(
207
+ build-essential
208
+ ca-certificates
209
+ cmake
210
+ curl
211
+ git
212
+ jq
213
+ libssl-dev
214
+ libstdc++6:amd64 # To support external 64-bit Node.js for actions.
215
+ pkgconf
216
+ )
217
+ dpkg --add-architecture amd64
207
218
apt-get update
208
- apt-get install --no-install-recommends -y build-essential ca-certificates cmake curl git jq libssl-dev libstdc++6:amd64 pkgconf
219
+ apt-get install --no-install-recommends -y -- "${prerequisites[@]}"
220
+ shell : bash
209
221
- uses : actions/checkout@v4
210
222
- uses : dtolnay/rust-toolchain@stable
211
223
with :
You can’t perform that action at this time.
0 commit comments