Browse Source

fix github-actions

Artem V. Ageev 9 months ago
parent
commit
cf537bb34c
2 changed files with 1 additions and 3 deletions
  1. 1 2
      make.ps1
  2. 0 1
      use/components.txt

+ 1 - 2
make.ps1

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

+ 0 - 1
use/components.txt

@@ -1 +0,0 @@
-