Skip to content

Commit 92b8e4f

Browse files
committed
Extract elasticsearch version as workflow input
1 parent d702050 commit 92b8e4f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/plugins-ci-elasticsearch.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
required: false
99
default: 'fastify'
1010
type: string
11+
elasticsearch-version:
12+
description: 'The version of Elasticsearch to use.'
13+
required: true
14+
default: '8.15.2'
15+
type: string
1116
license-check:
1217
description: 'Check licenses'
1318
required: false
@@ -104,7 +109,7 @@ jobs:
104109
node-version: ${{ fromJson(inputs.node-versions) }}
105110
services:
106111
elasticsearch:
107-
image: elasticsearch:8.15.2
112+
image: elasticsearch:${{ inputs.elasticsearch-version }}
108113
ports:
109114
- '9200:9200'
110115
- '9300:9300'

0 commit comments

Comments
 (0)