From bd42ccfa84b8d33dfa9104db90d61cc941979e69 Mon Sep 17 00:00:00 2001 From: sator-imaging <16752340+sator-imaging@users.noreply.github.com> Date: Fri, 12 Jan 2024 09:52:25 +0900 Subject: [PATCH] sed works differently from online bash --- action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index c25b234..111142c 100644 --- a/action.yaml +++ b/action.yaml @@ -405,7 +405,7 @@ runs: s/\.yml/\.html/; }; /^ *- uid\: / { - s/[\r\n]/\.html/; + s/$/\.html/; s/- uid\: /- href\: /; }' -i api/toc.yml