Add multi-release Jar #542
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run benchmark | |
on: | |
push: | |
branches: [ main, '[0-9]*.[0-9]*.x' ] | |
pull_request: | |
branches: [ main, '[0-9]*.[0-9]*.x' ] | |
workflow_dispatch: | |
jobs: | |
jmh: | |
name: Run benchmark | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Execute benchmark | |
uses: gradle/[email protected] | |
with: | |
arguments: jmh | |
- name: Read benchmark result | |
id: csv | |
uses: juliangruber/read-file-action@v1 | |
with: | |
path: ./fixture-monkey/build/results/jmh/results.csv | |
- name: Create Markdown table | |
uses: petems/csv-to-md-table-action@master | |
id: csv-table-output | |
with: | |
csvinput: ${{ steps.csv.outputs.content }} | |
- name: Print benchmark summary | |
run: echo "${{steps.csv-table-output.outputs.markdown-table}}" >> $GITHUB_STEP_SUMMARY |