mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 06:45:37 +08:00
[CI] GitHub Actions deprecated the set-output command
This commit is contained in:
@@ -33,9 +33,11 @@ while (<<>>)
|
||||
++$cmds{"::warning file=$result{file}::$result{msg}"};
|
||||
}
|
||||
}
|
||||
my $bool = %cmds ? 'true' : 'false';
|
||||
print "$_\n" for sort keys %cmds;
|
||||
print "::set-output name=warnings::$bool\n";
|
||||
|
||||
my $bool = %cmds ? 'true' : 'false';
|
||||
open my $GITHUB_OUTPUT, ">> $ENV{GITHUB_OUTPUT}" or die "open: $!";
|
||||
print $GITHUB_OUTPUT "warnings=$bool\n";
|
||||
|
||||
sub extractWarning
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user