Skip to content

Commit 3b77d87

Browse files
committed
improving bench workflow
1 parent dd6d3c4 commit 3b77d87

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/bench.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
bench:
4242
name: bench
4343
runs-on: bench
44-
timeout-minutes: 90
44+
timeout-minutes: 120
4545
env:
4646
IX: ${{ github.event.inputs.index || 'default' }}
4747
SE: ${{ github.event.inputs.selector || 'Kyo' }}
@@ -140,7 +140,7 @@ jobs:
140140
id: check-cache
141141
uses: actions/cache@v2
142142
with:
143-
path: jmh-github-action-index.txt
143+
path: jmh-github-action-${IX}.txt
144144
key: index-url
145145

146146
- name: Get commit message
@@ -155,7 +155,7 @@ jobs:
155155
with:
156156
github-token: ${{ secrets.GIST_PAT }}
157157
script: |
158-
const indexFileName = 'jmh-github-action-$IX.csv';
158+
const indexFileName = 'jmh-github-action-${IX}.csv';
159159
const runUrl = `https://github.com/${process.env.GITHUB_REPOSITORY}/actions/runs/${process.env.GITHUB_RUN_ID}`;
160160
const commitUrl = `https://github.com/${process.env.GITHUB_REPOSITORY}/commit/${context.sha}`;
161161
const commitMessage = process.env.COMMIT_MESSAGE.replace(/,/g, '\\,');

0 commit comments

Comments
 (0)