Skip to content

Commit dc35e3c

Browse files
committed
Upload to a pastebin
1 parent bed7430 commit dc35e3c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎.github/workflows/benchmark.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ jobs:
5151
run: |
5252
./build/benchmark/benchmark_xsimd_algorithm \
5353
--benchmark_repetitions=3 \
54-
--benchmark_out=benchmark-${{ matrix.sys.name }}.json \
54+
--benchmark_out=benchmark.json \
5555
--benchmark_out_format=json
5656
- name: Upload results
57-
uses: actions/upload-artifact@v4
58-
with:
59-
name: benchmark-${{ github.event.pull_request.head.sha || github.sha }}-${{ matrix.sys.name }}
60-
path: benchmark-${{ matrix.sys.name }}.json
57+
run: |
58+
url=$(curl --fail --silent --show-error -F "file=@benchmark.json" https://x0.at/)
59+
echo "::notice title=Benchmark ${{ matrix.sys.name }}::${url}"
60+
echo "Benchmark ${{ matrix.sys.name }}: ${url}" >> "${GITHUB_STEP_SUMMARY}"

0 commit comments

Comments
 (0)