Skip to content

Commit 55f7ca2

Browse files
committed
fix github-actions
1 parent 889e438 commit 55f7ca2

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/make.ps1

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,14 @@ Function Build-Project {
7171
true {
7272
((Get-ChildItem -Filter '*.lpk' -Recurse -File –Path $Var.tst).FullName |
7373
ForEach-Object {
74-
$Env:INSTANTFPC = $VAR.opt
75-
$Output = (& instantfpc $_ --all --format=plain)
74+
$Output = (
75+
& lazbuild --build-all --recursive --no-write-project $VAR.tst |
76+
Where-Object {
77+
$_.Contains('Linking')
78+
} | ForEach-Object {
79+
$_.Split(' ')[2]
80+
}
81+
)
7682
$exitCode = Switch ($LastExitCode) {
7783
0 {0}
7884
Default {

0 commit comments

Comments
 (0)