Skip to content

Commit f59a2d5

Browse files
test: Attempting images in action summary ( Fixes #132 )
Unfortunately, this is not possible without an external URL, which will not reliably exist.
1 parent 7077759 commit f59a2d5

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

action.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -422,15 +422,6 @@ runs:
422422
} elseif ($outItem) {
423423
$outItem.FullName, (git status $outItem.Fullname -s)
424424
}
425-
if ($fullname -match '\.(svg|png)' -and $env:GITHUB_STEP_SUMMARY) {
426-
$leafName = $fullName | Split-Path -Leaf
427-
$imageFileDestination = $env:GITHUB_STEP_SUMMARY |
428-
Split-Path |
429-
Join-Path -ChildPath $leafName
430-
Copy-Item -LiteralPath $fullName -Destination $imageFileDestination
431-
"![$leafName]($leafName)" |
432-
Out-File -Append -FilePath $env:GITHUB_STEP_SUMMARY
433-
}
434425
if ($shouldCommit -and -not $NoCommit) {
435426
"$fullName has changed, and should be committed" | Out-Host
436427
git add $fullName

0 commit comments

Comments
 (0)