Skip to content

Commit d4b2604

Browse files
committed
Fix sed
1 parent 5db2ae9 commit d4b2604

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,9 +1531,8 @@ jobs:
15311531
- run: mkdir rspec && datadog-ci version
15321532
- uses: actions/download-artifact@v4
15331533
with:
1534+
path: rspec
15341535
pattern: junit-*
15351536
merge-multiple: true
1536-
- run: 'sed -i ''s/file=".//file="/g'' rspec/*.xml
1537-
1538-
'
1537+
- run: sed -i 's/file="\.\/"/file="/g' rspec/*.xml
15391538
- run: datadog-ci junit upload --service dd-trace-rb rspec/

tasks/github.rake

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -287,11 +287,7 @@ namespace :github do
287287
'merge-multiple' => true
288288
}
289289
},
290-
{
291-
'run' => <<~BASH
292-
sed -i 's/file="\.\//file="/g' rspec/*.xml
293-
BASH
294-
},
290+
{ 'run' => "sed -i 's/file=\"\.\//file=\"/g' rspec/*.xml" },
295291
{ 'run' => 'datadog-ci junit upload --service dd-trace-rb rspec/' },
296292
]
297293
}

0 commit comments

Comments
 (0)