Skip to content

Commit 3f53827

Browse files
committed
Allow configuring target sync level.
1 parent 842c767 commit 3f53827

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ inputs:
2626
description: Ogmios version
2727
required: false
2828
default: latest
29+
synchronization-level:
30+
description: A percentage between 0 and 1 of the target synchronization level.
31+
required: false
32+
default: 1
2933
runs:
3034
using: composite
3135
steps:
@@ -44,7 +48,7 @@ runs:
4448
run: |
4549
docker run -d --name ${{ inputs.container-name }} -p ${{ inputs.ogmios-port }}:1337 -v ${{ inputs.db-dir }}:/db ${{ steps.docker-image.outputs.value }}
4650
sleep 3
47-
./scripts/wait-for-sync.sh ${{ inputs.ogmios-port }} 1
51+
./scripts/wait-for-sync.sh ${{ inputs.ogmios-port }} ${{ inputs.synchronization-level }}
4852
shell: bash
4953

5054
- name: 🧹 Cleanup

0 commit comments

Comments
 (0)