Skip to content

Commit 577820e

Browse files
Add runner input to run c-chain reexecution benchmark on arbitrary target (#4121)
Signed-off-by: aaronbuchwald <aaron.buchwald56@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d5cdc50 commit 577820e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/c-chain-reexecution-benchmark.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ on:
2020
description: 'The current state directory. Supports S3 directory/zip and local directories.'
2121
required: false
2222
default: s3://avalanchego-bootstrap-testing/cchain-current-state-hashdb-full-100.zip
23+
runner:
24+
description: 'Runner to execute the benchmark. Input to the runs-on field of the job.'
25+
required: false
26+
default: ubuntu-latest
27+
2328
schedule:
2429
- cron: '0 9 * * *' # Runs every day at 09:00 UTC (04:00 EST)
2530

@@ -28,7 +33,7 @@ jobs:
2833
permissions:
2934
id-token: write
3035
contents: write
31-
runs-on: ubuntu-latest
36+
runs-on: ${{ github.event.inputs.runner || 'ubuntu-latest' }}
3237
steps:
3338
- name: Configure AWS Credentials
3439
uses: aws-actions/configure-aws-credentials@v4

0 commit comments

Comments
 (0)