mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 06:45:37 +08:00
[CI] Skip the workflow run for a pull request, if the same SHA was already built
This commit is contained in:
@@ -31,10 +31,9 @@ while (<<>>)
|
||||
++$cmds{"::warning file=$result{file}::$result{msg}"};
|
||||
}
|
||||
}
|
||||
my @cmds = sort keys %cmds;
|
||||
my $count = scalar @cmds;
|
||||
print "$_\n" for @cmds;
|
||||
print "::set-output name=warnings::$count\n";
|
||||
my $bool = %cmds ? 'true' : 'false';
|
||||
print "$_\n" for sort keys %cmds;
|
||||
print "::set-output name=warnings::$bool\n";
|
||||
|
||||
sub extractWarning
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user