Skip to content

Commit

Permalink
Extract elasticsearch version as workflow input
Browse files Browse the repository at this point in the history
  • Loading branch information
tpreviero committed Sep 28, 2024
1 parent 9647bc4 commit e7e5d81
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/plugins-ci-elasticsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
required: false
default: 'fastify'
type: string
elasticsearch-version:
description: 'The version of Elasticsearch to use.'
required: true
default: '8.15.2'
type: string
license-check:
description: 'Check licenses'
required: false
Expand Down Expand Up @@ -104,7 +109,7 @@ jobs:
node-version: ${{ fromJson(inputs.node-versions) }}
services:
elasticsearch:
image: elasticsearch:8.15.2
image: elasticsearch:${{ inputs.elasticsearch-version }}
ports:
- '9200:9200'
- '9300:9300'
Expand Down

0 comments on commit e7e5d81

Please sign in to comment.