also looking at this
chore(deps): update dependency softprops/action-gh-release to v2.3.3
#159
1 file
+638
-860
Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.
| @@ -248,11 +248,14 @@ jobs: | ||
| 248 | 248 | REQUIRED_EXTENSIONS=( |
| 249 | 249 | "Core" "date" "hash" "json" "pcre" "Reflection" "SPL" "standard" |
| 250 | 250 | "mbstring" "iconv" "filter" "ctype" "tokenizer" "session" "fileinfo" |
| 251 | "opcache" "phar" "dom" "xml" "xmlreader" "xmlwriter" "simplexml" | |
| 251 | "phar" "dom" "xml" "xmlreader" "xmlwriter" "simplexml" | |
| 252 | 252 | "curl" "openssl" "zip" "zlib" "calendar" "ftp" "pcntl" "posix" |
| 253 | 253 | "shmop" "sockets" "exif" "bcmath" "bz2" "gettext" "readline" |
| 254 | 254 | ) |
| 255 | 255 | |
| 256 | # Define Zend extensions that need special checking | |
| 257 | ZEND_EXTENSIONS=("opcache") | |
| 258 | ||
| 256 | 259 | # Test each required extension |
| 257 | 260 | echo "🧪 Testing essential extensions..." |
| 258 | 261 | MISSING_EXTENSIONS=() |
| @@ -266,6 +269,17 @@ jobs: | ||
| 266 | 269 | fi |
| 267 | 270 | done |
| 268 | 271 | |
| 272 | # Test Zend extensions separately | |
| 273 | for ext in "${ZEND_EXTENSIONS[@]}"; do | |
| 274 | EXT_LOADED=$(binaries/$BINARY_NAME/bin/php -r "echo function_exists('opcache_get_status') ? '1' : '0';") | |
| 275 | if [ "$EXT_LOADED" = "1" ]; then | |
| 276 | echo "✅ $ext: LOADED" | |
| 277 | else | |
| 278 | echo "❌ $ext: MISSING" | |
| 279 | MISSING_EXTENSIONS+=("$ext") | |
| 280 | fi | |
| 281 | done | |
| 282 | ||
| 269 | 283 | # Check if any essential extensions are missing |
| 270 | 284 | if [ ${#MISSING_EXTENSIONS[@]} -gt 0 ]; then |
| 271 | 285 | echo "❌ Critical extensions missing: ${MISSING_EXTENSIONS[*]}" |
| @@ -374,11 +388,14 @@ jobs: | ||
| 374 | 388 | $REQUIRED_EXTENSIONS = @( |
| 375 | 389 | "Core", "date", "hash", "json", "pcre", "Reflection", "SPL", "standard", |
| 376 | 390 | "mbstring", "iconv", "filter", "ctype", "tokenizer", "session", "fileinfo", |
| 377 | "opcache", "phar", "dom", "xml", "xmlreader", "xmlwriter", "simplexml", | |
| 378 | "curl", "openssl", "zip", "zlib", "calendar", "ftp", "pcntl", "posix", | |
| 391 | "phar", "dom", "xml", "xmlreader", "xmlwriter", "simplexml", | |
| 392 | "curl", "openssl", "zip", "zlib", "calendar", "ftp", | |
| 379 | 393 | "shmop", "sockets", "exif", "bcmath", "bz2", "gettext", "readline" |
| 380 | 394 | ) |
| 381 | 395 | |
| 396 | # Define Zend extensions that need special checking | |
| 397 | $ZEND_EXTENSIONS = @("opcache") | |
| 398 | ||
| 382 | 399 | # Test each required extension |
| 383 | 400 | Write-Host "🧪 Testing essential extensions..." |
| 384 | 401 | $MISSING_EXTENSIONS = @() |
| @@ -392,6 +409,17 @@ jobs: | ||
| 392 | 409 | } |
| 393 | 410 | } |
| 394 | 411 | |
| 412 | # Test Zend extensions separately | |
| 413 | foreach ($ext in $ZEND_EXTENSIONS) { | |
| 414 | $extLoaded = & $PHP -r "echo function_exists('opcache_get_status') ? '1' : '0';" | |
| 415 | if ($extLoaded -eq "1") { | |
| 416 | Write-Host "✅ $ext`: LOADED" | |
| 417 | } else { | |
| 418 | Write-Host "❌ $ext`: MISSING" | |
| 419 | $MISSING_EXTENSIONS += $ext | |
| 420 | } | |
| 421 | } | |
| 422 | ||
| 395 | 423 | # Check if any essential extensions are missing |
| 396 | 424 | if ($MISSING_EXTENSIONS.Count -gt 0) { |
| 397 | 425 | Write-Host "❌ Critical extensions missing: $($MISSING_EXTENSIONS -join ', ')" |