Skip to content

Results date format is incorrect #67

Results date format is incorrect

Results date format is incorrect #67

Workflow file for this run

name: Run benchmarks
on:
issues:
types: [opened]
jobs:
build:
runs-on: ubuntu-latest
if: startsWith(github.event.issue.title, 'RUN BENCHMARK')
steps:
- name: Accept the task
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ github.event.issue.number }}
body: |
Serving the benchmark. I will update the issue when it's finished.
- uses: actions/checkout@v4
- name: Build images
run: ./build.sh
- name: Run tests
id: run_bench
run: |
./bench.sh | tee bench.results
REPORT="$(cat bench.results)"
REPORT="${REPORT//'%'/'%25'}"
REPORT="${REPORT//$'\n'/'%0A'}"
REPORT="${REPORT//$'\r'/'%0D'}"
echo "::set-output name=results::$REPORT"
env:
GRPC_BENCHMARK_DURATION: ${{github.event.issue.body}}
- name: Close Issue
uses: peter-evans/close-issue@v3
with:
comment: |
Here you go!
```
${{ steps.run_bench.outputs.results }}
```