From 3db3bea66088421377b725d110bd16ee23716c05 Mon Sep 17 00:00:00 2001 From: Giuseppe Mazzapica Date: Thu, 7 Mar 2024 13:11:10 +0100 Subject: [PATCH] Fix regression in recent merge See #24 --- src/PreCompilation/GithubActionArtifactAdapter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PreCompilation/GithubActionArtifactAdapter.php b/src/PreCompilation/GithubActionArtifactAdapter.php index fcb5516..23c8be6 100644 --- a/src/PreCompilation/GithubActionArtifactAdapter.php +++ b/src/PreCompilation/GithubActionArtifactAdapter.php @@ -177,7 +177,7 @@ private function retrieveArchiveUrl( $archiveUrl = null; foreach ((array)$json['artifacts'] as $artifactData) { - if (!is_array($artifactData) || empty($artifactData['expired'])) { + if (!is_array($artifactData) || !empty($artifactData['expired'])) { continue; }