From: Jérémie Astor Date: Tue, 22 Sep 2020 19:51:35 +0000 (+0200) Subject: :wrench: Try new lines in commit_info X-Git-Tag: nightly~1272 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=c244d675b67d3ced5b4e3b9f9be79381da792768;p=gwion.git :wrench: Try new lines in commit_info --- diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 7ead9779..c344738e 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -16,4 +16,5 @@ jobs: ORG: fennecdjay REPO: gwion-benchmark run: | - curl -d "{\"event_type\": \"${EVENT}\", \"client_payload\": {\"commit_info\":\"$(git log -n1 --format='> Author: %an%nDate: %cd%nCommit: %h')\"}\" -H "Content-Type: application/json" -H "Authorization: token ${{ secrets.BENCHMARK_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" "https://api.github.com/repos/${ORG}/${REPO}/dispatches" + echo "{\"event_type\": \"${EVENT}\", \"client_payload\": {\"commit_info\":\"$(git log -n1 --date=format:'%D %H:%M:%S' --format='> Author: %an \\nDate: %cd \\nCommit: %h')\"}}" > commit_info + curl -d "@commit_info" -H "Content-Type: application/json" -H "Authorization: token ${{ secrets.BENCHMARK_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" "https://api.github.com/repos/${ORG}/${REPO}/dispatches"