File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -339,9 +339,8 @@ jobs:
339339 merge-multiple : true
340340 - run : sed -i 's;file="./;file=";g' tmp/rspec/*.xml
341341 - if : github.event_name == 'pull_request'
342- run : ' echo "DD_GIT_COMMIT_SHA=${{ github.event.pull_request.head.sha }}" >> $GITHUB_ENV
343-
344- '
342+ run : echo "DD_GIT_COMMIT_SHA=${{ github.event.pull_request.head.sha }}" >> $GITHUB_ENV
343+ - run : echo $DD_GIT_COMMIT_SHA
345344 - run : datadog-ci junit upload --verbose tmp/rspec/
346345 coverage :
347346 name : upload/coverage
Original file line number Diff line number Diff line change @@ -318,9 +318,10 @@ namespace :github do
318318 { 'run' => "sed -i 's;file=\" \. \/ ;file=\" ;g' tmp/rspec/*.xml" } ,
319319 {
320320 'if' => "github.event_name == 'pull_request'" ,
321- 'run' => <<~BASH
322- echo "DD_GIT_COMMIT_SHA=${{ github.event.pull_request.head.sha }}" >> $GITHUB_ENV
323- BASH
321+ 'run' => 'echo "DD_GIT_COMMIT_SHA=${{ github.event.pull_request.head.sha }}" >> $GITHUB_ENV'
322+ } ,
323+ {
324+ 'run' => 'echo $DD_GIT_COMMIT_SHA'
324325 } ,
325326 {
326327 'run' => 'datadog-ci junit upload --verbose tmp/rspec/'
You can’t perform that action at this time.
0 commit comments