[PHP-WEBMASTER] [web-downloads] main: Fix artifact extension

Author: Shivam Mathur (shivammathur)
Date: 2025-01-30T08:17:13+05:30

Commit: Fix artifact extension · php/web-downloads@f09bc97 · GitHub
Raw diff: https://github.com/php/web-downloads/commit/f09bc979bf9e96ba0a664004ed77274e50d3c281.diff

Fix artifact extension

Changed paths:
  M src/Http/Controllers/PhpController.php

Diff:

diff --git a/src/Http/Controllers/PhpController.php b/src/Http/Controllers/PhpController.php
index 05f9b1b..2d0479b 100644
--- a/src/Http/Controllers/PhpController.php
+++ b/src/Http/Controllers/PhpController.php
@@ -48,7 +48,7 @@ private function fetchPhpBuild(string $url, string $token): void

         $directory = getenv('BUILDS_DIRECTORY') . "/php";

- $filepath = $directory . "/php-" . $hash . ".tar.gz";
+ $filepath = $directory . "/php-" . $hash . ".zip";

         if(!is_dir($directory)) {
             mkdir($directory, 0755, true);