浏览代码

fix github-actions

Artem V. Ageev 10 月之前
父节点
当前提交
2345860519
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      make.ps1

+ 2 - 1
make.ps1

@@ -51,7 +51,8 @@ Function Build-Project {
         & git submodule update --recursive --init | Out-Host
         & git submodule update --recursive --remote | Out-Host
         Get-Content -Path 'use\components.txt' | ForEach-Object {
-            If ((! (& lazbuild --verbose-pkgsearch $_)) &&
+            If (($_) &&
+                (! (& lazbuild --verbose-pkgsearch $_)) &&
                 (! (& lazbuild --add-package $_)) &&
                 (! (Test-Path -Path "use\$($_)"))) {
                     $OutFile = Request-File "https://packages.lazarus-ide.org/$($_).zip"