cache-extensions 1.15.1 → 1.15.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  <a href="https://github.com/shivammathur/cache-extensions" title="Cache PHP extensions in GitHub Actions"><img alt="GitHub Actions status" src="https://github.com/shivammathur/cache-extensions/workflows/Node%20test%20workflow/badge.svg"></a>
5
5
  <a href="https://codecov.io/gh/shivammathur/cache-extensions" title="Code coverage"><img alt="Codecov Code Coverage" src="https://codecov.io/gh/shivammathur/cache-extensions/branch/master/graph/badge.svg"></a>
6
6
  <a href="https://github.com/shivammathur/cache-extensions/blob/master/LICENSE" title="license"><img alt="LICENSE" src="https://img.shields.io/badge/license-MIT-428f7e.svg?logo=open%20source%20initiative&logoColor=white&labelColor=555555"></a>
7
- <a href="#tada-php-support" title="PHP Versions Supported"><img alt="PHP Versions Supported" src="https://img.shields.io/badge/php-5.3%20to%208.6-777bb3.svg?logo=php&logoColor=white&labelColor=555555"></a>
7
+ <a href="#tada-php-support" title="PHP Versions Supported"><img alt="PHP Versions Supported" src="https://img.shields.io/badge/php-5.3%20to%208.7-777bb3.svg?logo=php&logoColor=white&labelColor=555555"></a>
8
8
  </p>
9
9
 
10
10
  Cache PHP extensions in [GitHub Actions](https://github.com/features/actions "GitHub Actions"). This action has to be used along with [shivammathur/setup-php](https://github.com/shivammathur/setup-php "Setup PHP") and [actions/cache](https://github.com/actions/cache "Cache in GitHub Actions") GitHub Actions. It configures the environment required to cache PHP extensions. Refer to [Usage](#memo-usage "How to use this") section for details and example workflow.
@@ -43,13 +43,16 @@ Cache PHP extensions in [GitHub Actions](https://github.com/features/actions "Gi
43
43
  | 8.4 |`Stable`|`Active`|
44
44
  | 8.5 |`Stable`|`Active`|
45
45
  | 8.6 |`Nightly`|`In development`|
46
+ | 8.7 |`Nightly`|`In development`|
46
47
 
47
48
  ## :cloud: OS/Platform Support
48
49
 
49
50
  | Virtual environment | Arch | YAML workflow label |
50
51
  |---------------------|---------|------------------------------------|
52
+ | Ubuntu 26.04 | x86_64 | `ubuntu-26.04` |
51
53
  | Ubuntu 24.04 | x86_64 | `ubuntu-latest` or `ubuntu-24.04` |
52
54
  | Ubuntu 22.04 | x86_64 | `ubuntu-22.04` |
55
+ | Ubuntu 26.04 | aarch64 | `ubuntu-26.04-arm` |
53
56
  | Ubuntu 24.04 | aarch64 | `ubuntu-24.04-arm` |
54
57
  | Ubuntu 22.04 | aarch64 | `ubuntu-22.04-arm` |
55
58
  | Windows Server 2025 | x64 | `windows-2025` |
@@ -73,7 +76,8 @@ Use this GitHub Action when the extensions you are adding in [setup-php](https:/
73
76
  - Specify the PHP version you want to set up.
74
77
  - Accepts a `string`. For example `'8.5'`.
75
78
  - Accepts `latest` to set up the latest stable PHP version.
76
- - Accepts `nightly` to set up a nightly build from the master branch of PHP.
79
+ - Accepts `nightly` to set up a nightly build of the next PHP release.
80
+ - Accepts `master` to set up a nightly build from the master branch of PHP.
77
81
  - Accepts the format `d.x`, where `d` is the major version. For example `5.x`, `7.x` and `8.x`.
78
82
  - See [PHP support](#tada-php-support) for the supported PHP versions.
79
83
  - If not specified, it looks for `php-version-file` input.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cache-extensions",
3
- "version": "1.15.1",
3
+ "version": "1.15.2",
4
4
  "private": false,
5
5
  "description": "Cache PHP extensions in GitHub Actions",
6
6
  "type": "module",
@@ -39,40 +39,40 @@
39
39
  "author": "shivammathur",
40
40
  "license": "MIT",
41
41
  "dependencies": {
42
- "@actions/cache": "^6.2.0",
42
+ "@actions/cache": "^6.3.0",
43
43
  "@actions/core": "^3.0.1",
44
44
  "@actions/exec": "^3.0.0",
45
45
  "setup-php": "^2.37.2"
46
46
  },
47
47
  "devDependencies": {
48
- "@eslint/compat": "^2.1.0",
49
- "@eslint/eslintrc": "^3.3.6",
48
+ "@eslint/compat": "^2.1.1",
49
+ "@eslint/eslintrc": "^3.3.7",
50
50
  "@eslint/js": "^10.0.1",
51
51
  "@types/jest": "^30.0.0",
52
- "@types/node": "^26.2.0",
53
- "@typescript-eslint/eslint-plugin": "^8.67.0",
54
- "@typescript-eslint/parser": "^8.67.0",
52
+ "@types/node": "^26.6.3",
53
+ "@typescript-eslint/eslint-plugin": "^8.70.1",
54
+ "@typescript-eslint/parser": "^8.70.1",
55
55
  "@typescript/native": "npm:typescript@^7.0.2",
56
56
  "@vercel/ncc": "^0.45.0",
57
- "eslint": "^10.8.1",
57
+ "eslint": "^10.11.0",
58
58
  "eslint-config-prettier": "^10.1.8",
59
59
  "eslint-import-resolver-typescript": "^4.4.5",
60
60
  "eslint-plugin-import-x": "^4.17.1",
61
- "eslint-plugin-jest": "^29.16.1",
61
+ "eslint-plugin-jest": "^29.16.6",
62
62
  "eslint-plugin-prettier": "^5.5.6",
63
- "globals": "^17.11.0",
64
- "jest": "^30.4.2",
65
- "jest-circus": "^30.4.2",
66
- "prettier": "^3.9.6",
67
- "ts-jest": "^29.4.12",
63
+ "globals": "^17.12.0",
64
+ "jest": "^30.5.2",
65
+ "jest-circus": "^30.5.2",
66
+ "prettier": "^3.9.9",
67
+ "ts-jest": "^29.4.14",
68
68
  "ts-node": "^10.9.2",
69
69
  "typescript": "npm:@typescript/typescript6@^6.0.2"
70
70
  },
71
71
  "overrides": {
72
- "brace-expansion@1.x": "^1.1.18",
73
- "test-exclude": "^7.0.1",
72
+ "brace-expansion@1.x": "^1.1.21",
73
+ "test-exclude": "^8.0.0",
74
74
  "glob": "^13.0.6",
75
- "undici": "^6.23.0"
75
+ "undici": "^6.29.0"
76
76
  },
77
77
  "bugs": {
78
78
  "url": "https://github.com/shivammathur/cache-extensions/issues"
@@ -9,6 +9,7 @@ event
9
9
  excimer
10
10
  expect
11
11
  gearman
12
+ geos
12
13
  gmagick
13
14
  gnupg
14
15
  grpc
@@ -141,7 +141,7 @@ libfribidi0
141
141
  libfsverity0
142
142
  libftdi1-2
143
143
  libfuse3-3
144
- libfwupd2
144
+ libfwupd3
145
145
  libgbm1
146
146
  libgc1
147
147
  libgcc-12-dev
@@ -183,7 +183,6 @@ libgstreamer1.0-0
183
183
  libgtk-3-0t64
184
184
  libgtk-3-common
185
185
  libgudev-1.0-0
186
- libgusb2
187
186
  libharfbuzz0b
188
187
  libhashkit2t64
189
188
  libhavege2
@@ -533,5 +532,6 @@ libzstd-dev
533
532
  libzstd1
534
533
  python3-launchpadlib
535
534
  python3-oauthlib
535
+ python3-passlib
536
536
  python3-wadllib
537
537
  texinfo-lib
@@ -0,0 +1,545 @@
1
+ lib32gcc-s1
2
+ lib32stdc++6
3
+ libacl1
4
+ libaio1t64
5
+ libaom3
6
+ libapparmor1
7
+ libappstream5
8
+ libapr1t64
9
+ libaprutil1-dbd-sqlite3
10
+ libaprutil1-ldap
11
+ libaprutil1t64
12
+ libapt-pkg7.0
13
+ libarchive13t64
14
+ libargon2-1
15
+ libaria2-0
16
+ libasan8
17
+ libasound2-data
18
+ libasound2t64
19
+ libaspell15
20
+ libassuan9
21
+ libatasmart4
22
+ libatk-bridge2.0-0t64
23
+ libatk1.0-0t64
24
+ libatomic1
25
+ libatspi2.0-0t64
26
+ libattr1
27
+ libaudit-common
28
+ libaudit1
29
+ libavahi-client3
30
+ libavahi-common-data
31
+ libavahi-common3
32
+ libbinutils
33
+ libblkid1
34
+ libblockdev-crypto3
35
+ libblockdev-fs3
36
+ libblockdev-loop3
37
+ libblockdev-mdraid3
38
+ libblockdev-nvme3
39
+ libblockdev-part3
40
+ libblockdev-smart3
41
+ libblockdev-swap3
42
+ libblockdev-utils3
43
+ libblockdev3
44
+ libbpf1
45
+ libbpfcc
46
+ libbrotli1
47
+ libbsd0
48
+ libbytesize-common
49
+ libbytesize1
50
+ libbz2-1.0
51
+ libc-bin
52
+ libc-dev-bin
53
+ libc-gconv-modules-extra
54
+ libc6
55
+ libc6-dev
56
+ libc6-i386
57
+ libcairo-gobject2
58
+ libcairo2
59
+ libcanberra0
60
+ libcap-ng0
61
+ libcap2
62
+ libcap2-bin
63
+ libcares2
64
+ libcbor0.10
65
+ libcc1-0
66
+ libcgi-fast-perl
67
+ libcgi-pm-perl
68
+ libclang-common-20-dev
69
+ libclang-common-21-dev
70
+ libclang-common-22-dev
71
+ libclang-cpp20
72
+ libclang-cpp21
73
+ libclang-cpp22
74
+ libclang-rt-20-dev
75
+ libclang-rt-21-dev
76
+ libclang-rt-22-dev
77
+ libclang1-20
78
+ libclang1-21
79
+ libclang1-22
80
+ libclone-perl
81
+ libcolord2
82
+ libcom-err2
83
+ libcommon-sense-perl
84
+ libcompel1
85
+ libcriu2
86
+ libcrypt1
87
+ libcryptsetup12
88
+ libctf-nobfd0
89
+ libctf0
90
+ libcups2t64
91
+ libcurl3t64-gnutls
92
+ libcurl4t64
93
+ libdatrie1
94
+ libdb5.3t64
95
+ libdbus-1-3
96
+ libdbusmenu-glib4
97
+ libdbusmenu-gtk3-4
98
+ libdconf1
99
+ libdebconfclient0
100
+ libdebuginfod-common
101
+ libdebuginfod1t64
102
+ libdeflate0
103
+ libdevmapper-event1.02.1
104
+ libdevmapper1.02.1
105
+ libdpkg-perl
106
+ libdrm-amdgpu1
107
+ libdrm-common
108
+ libdrm-intel1
109
+ libdrm2
110
+ libduktape207
111
+ libdw1t64
112
+ libeatmydata1
113
+ libedit2
114
+ libefiboot1t64
115
+ libefivar1t64
116
+ libelf1t64
117
+ libenchant-2-2
118
+ libencode-locale-perl
119
+ libepoxy0
120
+ liberror-perl
121
+ libestr0
122
+ libevdev2
123
+ libevent-core-2.1-7t64
124
+ libexpat1
125
+ libexpat1-dev
126
+ libext2fs2t64
127
+ libfakeroot
128
+ libfastjson4
129
+ libfbclient2
130
+ libfcgi-bin
131
+ libfcgi-perl
132
+ libfcgi0t64
133
+ libfdisk1
134
+ libffi-dev
135
+ libffi8
136
+ libfftw3-double3
137
+ libfido2-1
138
+ libflashrom1
139
+ libfontconfig1
140
+ libfontenc1
141
+ libfreetype6
142
+ libfribidi0
143
+ libfsverity0
144
+ libftdi1-2
145
+ libfuse3-4
146
+ libfwupd3
147
+ libfyaml0
148
+ libgbm1
149
+ libgc1
150
+ libgcc-13-dev
151
+ libgcc-14-dev
152
+ libgcc-15-dev
153
+ libgcc-s1
154
+ libgcrypt20
155
+ libgd3
156
+ libgdbm-compat4t64
157
+ libgdbm6t64
158
+ libgdk-pixbuf-2.0-0
159
+ libgdk-pixbuf2.0-common
160
+ libgfortran-13-dev
161
+ libgfortran-14-dev
162
+ libgfortran-15-dev
163
+ libgfortran5
164
+ libgirepository-2.0-0
165
+ libgl1
166
+ libgl1-mesa-dri
167
+ libglib2.0-0t64
168
+ libglib2.0-bin
169
+ libglib2.0-data
170
+ libglvnd0
171
+ libglx-mesa0
172
+ libglx0
173
+ libglycin-2-0
174
+ libgmp-dev
175
+ libgmp10
176
+ libgmpxx4ldbl
177
+ libgnutls30t64
178
+ libgomp1
179
+ libgoogle-perftools4t64
180
+ libgpg-error-l10n
181
+ libgpg-error0
182
+ libgpgme45
183
+ libgpm2
184
+ libgprofng0
185
+ libgraphite2-3
186
+ libgssapi-krb5-2
187
+ libgstreamer1.0-0
188
+ libgtk-3-0t64
189
+ libgtk-3-common
190
+ libgudev-1.0-0
191
+ libharfbuzz0b
192
+ libhashkit2t64
193
+ libheif-plugin-aomdec
194
+ libheif1
195
+ libhogweed6t64
196
+ libhtml-parser-perl
197
+ libhtml-tagset-perl
198
+ libhtml-template-perl
199
+ libhttp-date-perl
200
+ libhttp-message-perl
201
+ libhunspell-1.7-0
202
+ libhwasan0
203
+ libhwy1t64
204
+ libibverbs1
205
+ libice6
206
+ libicu-dev
207
+ libicu78
208
+ libidn2-0
209
+ libimagequant0
210
+ libinih1
211
+ libintl-perl
212
+ libintl-xs-perl
213
+ libio-html-perl
214
+ libip4tc2
215
+ libip6tc2
216
+ libipt2
217
+ libisl23
218
+ libisns0t64
219
+ libitm1
220
+ libjansson4
221
+ libjbig0
222
+ libjcat1
223
+ libjemalloc2
224
+ libjpeg-turbo8
225
+ libjpeg8
226
+ libjq1
227
+ libjs-jquery
228
+ libjs-sphinxdoc
229
+ libjson-c5
230
+ libjson-glib-1.0-0
231
+ libjson-glib-1.0-common
232
+ libjson-perl
233
+ libjson-xs-perl
234
+ libjxl0.11
235
+ libk5crypto3
236
+ libkeyutils1
237
+ libklibc
238
+ libkmod2
239
+ libkrb5-3
240
+ libkrb5support0
241
+ libksba8
242
+ liblastlog2-2
243
+ liblcms2-2
244
+ libldap-common
245
+ libldap2
246
+ liblerc4
247
+ liblldb-20
248
+ liblldb-21
249
+ liblldb-22
250
+ libllvm20
251
+ libllvm21
252
+ libllvm22
253
+ liblmdb0
254
+ liblocale-gettext-perl
255
+ liblqr-1-0
256
+ liblsan0
257
+ liblsof0
258
+ libltdl7
259
+ liblttng-ust-common1t64
260
+ liblttng-ust-ctl6
261
+ liblttng-ust1t64
262
+ liblua5.3-0
263
+ liblua5.4-0
264
+ liblvm2cmd2.03
265
+ liblwp-mediatypes-perl
266
+ liblz4-1
267
+ liblz4-dev
268
+ liblzma-dev
269
+ liblzma5
270
+ liblzo2-2
271
+ libmagic-mgc
272
+ libmagic1t64
273
+ libmagickcore-7.q16-10
274
+ libmagickwand-7.q16-10
275
+ libmaxminddb0
276
+ libmbim-glib4
277
+ libmbim-proxy
278
+ libmbim-utils
279
+ libmd0
280
+ libmecab2
281
+ libmemcached11t64
282
+ libmm-glib0
283
+ libmnl0
284
+ libmodule-find-perl
285
+ libmount1
286
+ libmpathcmd0
287
+ libmpathpersist0
288
+ libmpc3
289
+ libmpfr6
290
+ libmspack0t64
291
+ libmultipath0
292
+ libmysqlclient-dev
293
+ libmysqlclient24
294
+ libncurses-dev
295
+ libncurses6
296
+ libncursesw6
297
+ libnet9
298
+ libnetfilter-conntrack3
299
+ libnetplan1
300
+ libnettle8t64
301
+ libnewt0.52
302
+ libnfnetlink0
303
+ libnftables1
304
+ libnftnl11
305
+ libnghttp2-14
306
+ libnl-3-200
307
+ libnl-genl-3-200
308
+ libnl-route-3-200
309
+ libnorm1t64
310
+ libnpth0t64
311
+ libnspr4
312
+ libnss-systemd
313
+ libnss3
314
+ libnss3-tools
315
+ libntfs-3g89t64
316
+ libnuma1
317
+ libnvme1t64
318
+ libobjc-15-dev
319
+ libobjc4
320
+ libodbc2
321
+ libogg0
322
+ libonig5
323
+ libopeniscsiusr
324
+ libopenjp2-7
325
+ libp11-kit0
326
+ libpackagekit-glib2-18
327
+ libpam-cap
328
+ libpam-modules
329
+ libpam-modules-bin
330
+ libpam-runtime
331
+ libpam-systemd
332
+ libpam0g
333
+ libpango-1.0-0
334
+ libpangocairo-1.0-0
335
+ libpangoft2-1.0-0
336
+ libparted2t64
337
+ libpcap0.8t64
338
+ libpci3
339
+ libpciaccess0
340
+ libpcre2-16-0
341
+ libpcre2-32-0
342
+ libpcre2-8-0
343
+ libpcre2-dev
344
+ libpcre2-posix3
345
+ libperl5.40
346
+ libpfm4
347
+ libpgm-5.3-0t64
348
+ libpipeline1
349
+ libpixman-1-0
350
+ libpkgconf7
351
+ libplymouth5
352
+ libpng16-16t64
353
+ libpolkit-agent-1-0
354
+ libpolkit-gobject-1-0
355
+ libpopt0
356
+ libpq-dev
357
+ libpq5
358
+ libproc-processtable-perl
359
+ libproc2-0
360
+ libprotobuf-c1
361
+ libprotobuf-lite32t64
362
+ libpsl5t64
363
+ libpython3-dev
364
+ libpython3-stdlib
365
+ libpython3.14
366
+ libpython3.14-dev
367
+ libpython3.14-minimal
368
+ libpython3.14-stdlib
369
+ libqdbm14t64
370
+ libqmi-glib5
371
+ libqmi-proxy
372
+ libqmi-utils
373
+ libqrtr-glib0
374
+ libquadmath0
375
+ librabbitmq4
376
+ libraw23t64
377
+ libreadline8t64
378
+ librpm-sequoia-1
379
+ librpm10
380
+ librpmbuild10
381
+ librpmio10
382
+ librpmsign10
383
+ librsvg2-2
384
+ librtmp1
385
+ libruby
386
+ libruby3.3
387
+ libsasl2-2
388
+ libsasl2-modules
389
+ libsasl2-modules-db
390
+ libseccomp2
391
+ libselinux1
392
+ libsemanage-common
393
+ libsemanage2
394
+ libsensors-config
395
+ libsensors5
396
+ libsepol2
397
+ libsframe3
398
+ libsgutils2-1.48
399
+ libsharpyuv0
400
+ libslang2
401
+ libslirp0
402
+ libsm6
403
+ libsmartcols1
404
+ libsnappy1v5
405
+ libsnmp-base
406
+ libsnmp40t64
407
+ libsodium23
408
+ libsort-naturally-perl
409
+ libsqlite3-0
410
+ libsqlite3-dev
411
+ libss2
412
+ libssh2-1t64
413
+ libssl-dev
414
+ libssl3t64
415
+ libstdc++-13-dev
416
+ libstdc++-14-dev
417
+ libstdc++-15-dev
418
+ libstdc++6
419
+ libstemmer0d
420
+ libsubid5
421
+ libsybdb5
422
+ libsystemd-shared
423
+ libsystemd0
424
+ libtalloc2
425
+ libtasn1-6
426
+ libtcl8.6
427
+ libtcmalloc-minimal4t64
428
+ libtdb1
429
+ libterm-readkey-perl
430
+ libtext-charwidth-perl
431
+ libtext-iconv-perl
432
+ libtext-unidecode-perl
433
+ libtext-wrapi18n-perl
434
+ libthai-data
435
+ libthai0
436
+ libtidy58
437
+ libtiff6
438
+ libtimedate-perl
439
+ libtinfo6
440
+ libtirpc-common
441
+ libtirpc3t64
442
+ libtk8.6
443
+ libtommath1
444
+ libtool
445
+ libtraceevent1
446
+ libtraceevent1-plugin
447
+ libtracefs1
448
+ libtsan2
449
+ libtss2-esys-3.0.2-0t64
450
+ libtss2-mu-4.0.1-0t64
451
+ libtss2-rc0t64
452
+ libtss2-sys1t64
453
+ libtss2-tcti-cmd0t64
454
+ libtss2-tcti-device0t64
455
+ libtss2-tcti-mssim0t64
456
+ libtss2-tcti-swtpm0t64
457
+ libtypes-serialiser-perl
458
+ libubsan1
459
+ libuchardet0
460
+ libudev1
461
+ libudisks2-0
462
+ libunistring5
463
+ libunwind8
464
+ liburcu8t64
465
+ liburi-perl
466
+ liburing2
467
+ libusb-1.0-0
468
+ libuuid1
469
+ libuv1t64
470
+ libvolume-key1
471
+ libvorbis0a
472
+ libvorbisfile3
473
+ libvulkan1
474
+ libwayland-client0
475
+ libwayland-cursor0
476
+ libwayland-egl1
477
+ libwbclient0
478
+ libwebp7
479
+ libwebpdemux2
480
+ libwebpmux3
481
+ libwrap0
482
+ libx11-6
483
+ libx11-data
484
+ libx11-xcb1
485
+ libxau6
486
+ libxaw7
487
+ libxcb-dri3-0
488
+ libxcb-glx0
489
+ libxcb-present0
490
+ libxcb-randr0
491
+ libxcb-render0
492
+ libxcb-shm0
493
+ libxcb-sync1
494
+ libxcb-xfixes0
495
+ libxcb1
496
+ libxcomposite1
497
+ libxcursor1
498
+ libxdamage1
499
+ libxdmcp6
500
+ libxext6
501
+ libxfixes3
502
+ libxfont2
503
+ libxft2
504
+ libxi6
505
+ libxinerama1
506
+ libxkbcommon0
507
+ libxkbfile1
508
+ libxml-libxml-perl
509
+ libxml-namespacesupport-perl
510
+ libxml-sax-base-perl
511
+ libxml-sax-perl
512
+ libxml2-16
513
+ libxml2-dev
514
+ libxmlb2
515
+ libxmlsec1-1
516
+ libxmlsec1-openssl1
517
+ libxmu6
518
+ libxmuu1
519
+ libxpm4
520
+ libxrandr2
521
+ libxrender1
522
+ libxres1
523
+ libxshmfence1
524
+ libxslt1.1
525
+ libxss1
526
+ libxt6t64
527
+ libxtables12
528
+ libxtst6
529
+ libxxf86vm1
530
+ libxxhash-dev
531
+ libxxhash0
532
+ libyajl2
533
+ libyaml-0-2
534
+ libyaml-dev
535
+ libz3-4
536
+ libz3-dev
537
+ libzip5
538
+ libzmq5
539
+ libzstd-dev
540
+ libzstd1
541
+ python3-launchpadlib
542
+ python3-oauthlib
543
+ python3-passlib
544
+ python3-wadllib
545
+ texinfo-lib
@@ -38,11 +38,16 @@ download_ppa_file() {
38
38
  local file=$1
39
39
  local target=$2
40
40
  local root
41
+ local available_roots=("https://ppa.launchpadcontent.net" "https://ppa.setup-php.com")
42
+ if [[ "${VERSION_ID//./}" -ge 2604 ]]; then
43
+ available_roots=("https://packages.sury.org/php")
44
+ file="${file#ondrej/php/ubuntu/}"
45
+ fi
41
46
  local roots=()
42
47
  if [[ -n "${preferred_ppa_root:-}" ]]; then
43
48
  roots+=("$preferred_ppa_root")
44
49
  fi
45
- for root in "https://ppa.launchpadcontent.net" "https://ppa.setup-php.com"; do
50
+ for root in "${available_roots[@]}"; do
46
51
  [[ "$root" = "${preferred_ppa_root:-}" ]] && continue
47
52
  roots+=("$root")
48
53
  done
@@ -124,7 +129,7 @@ setup_extensions() {
124
129
 
125
130
  filter_libraries() {
126
131
  libraries="$(echo "$1" | xargs -n1 | sort | uniq | xargs)"
127
- if [ "$runner" = "github" ]; then
132
+ if [[ "$runner" = "github" && -f "${script_dir:?}/../lists/$VERSION_CODENAME-libs" ]]; then
128
133
  for library in $libraries; do
129
134
  if grep -i -q -w "$library" "${script_dir:?}"/../lists/"$VERSION_CODENAME"-libs; then
130
135
  libraries=${libraries//$library/}