Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,16 @@ runs:

# Load the package with debug info
if "${{ inputs.mode }}" = "onlyneeded" then
LoadPackage(info.PackageName : OnlyNeeded);
check_load := LoadPackage(info.PackageName : OnlyNeeded);
elif "${{ inputs.mode }}" = "loadall" then
LoadPackage(info.PackageName);
check_load := LoadPackage(info.PackageName);
LoadAllPackages();
else
LoadPackage(info.PackageName);
check_load := LoadPackage(info.PackageName);
fi;
if check_load <> true then
Exec("echo \"::error::Package could not be loaded\"");
FORCE_QUIT_GAP(1);
fi;

OutputLogTo();
Expand Down
Loading