Skip to content

Commit

Permalink
refactor: refactor env in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tchataigner committed Oct 25, 2024
1 parent 5cf078a commit c6b4925
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ name: Light client benchmark
on:
schedule:
# Full report on Mondays at 9am EST/10am EDT
- cron: '0 14 * * 1'
- cron: '0 14 * * 1'
workflow_dispatch:
inputs:
# Which light client to bench, e.g. `aptos`, `ethereum` or `kadena`
Expand Down Expand Up @@ -98,8 +98,8 @@ jobs:
echo "SHARD_SIZE=4194304" | tee -a $GITHUB_ENV
echo "SHARD_BATCH_SIZE=0" | tee -a $GITHUB_ENV
echo "RECONSTRUCT_COMMITMENTS=false" | tee -a $GITHUB_ENV
echo "SHARD_CHUNKING_MULTIPLIER=256" | tee -a $GITHUB_ENV
echo "SNARK=1" | tee -a $GITHUB_ENV
echo "SHARD_CHUNKING_MULTIPLIER=1" | tee -a $GITHUB_ENV
echo "MODE=SNARK" | tee -a $GITHUB_ENV
IFS=',' read -ra ENV_VARS <<< "${{ inputs.env }}"
for VAR in "${ENV_VARS[@]}"; do
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
strategy:
fail-fast: false
matrix:
light-client: [aptos, ethereum, kadena]
light-client: [ aptos, ethereum, kadena ]
include:
- benchmark: inclusion
light-client: aptos
Expand Down

0 comments on commit c6b4925

Please sign in to comment.