2
0
Artem V. Ageev 2 сар өмнө
parent
commit
19da1b4d92

+ 8 - 2
.github/workflows/make.yml

@@ -65,10 +65,16 @@ jobs:
             capture_output=True,
         )
         os.environ["INSTANTFPCOPTIONS"] = "-Fu/Applications/Lazarus/components/lazutils"
-        subprocess.run(
+        result = subprocess.run(
             "instantfpc .github/workflows/make.pas build".split(),
-            check=True,
+            capture_output=True,
         )
+        if result.returncode != 0:
+            print(result.stderr.decode())
+        else:
+            print(result.stdout.decode())
+        sys.exit(result.returncode)
+
 
     - name: Build on Windows
       if: runner.os == 'Windows'