Skip to content

Commit f01f88d

Browse files
authored
Fix nightly.link replacement
1 parent ada0b36 commit f01f88d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build_artifact_comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
script: |
7878
function updateCommentSection(prComment, marker, body) {
7979
// Replace GitHub artifact links with public ones using nightly.link
80-
body.replaceAll('https://github.com', 'https://nightly.link');
80+
body = body.replaceAll('https://github.com', 'https://nightly.link');
8181
8282
// Create a regular expression to match the section between start and end markers
8383
const sectionRegex = new RegExp(`(<!-- ====startsection ${marker}-->\\n)([\\s\\S]*?)(<!-- ====endsection ${marker}-->)`, 'm');

0 commit comments

Comments
 (0)