Skip to content

Commit

Permalink
fix(github-action): Do not build kernel if it does not exist
Browse files Browse the repository at this point in the history
Signed-off-by: Cezar Craciunoiu <[email protected]>
  • Loading branch information
craciunoiuc committed Dec 20, 2024
1 parent 95e2a12 commit 9e0cb05
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/github-action/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ func (opts *GithubAction) build(ctx context.Context) error {
}
}

if opts.project.Unikraft(ctx) == nil {
return nil
}

if err := opts.project.Configure(
ctx,
opts.target, // Target-specific options
Expand Down

0 comments on commit 9e0cb05

Please sign in to comment.