Skip to content

Improve workflow: fetch release id automatically #5

Improve workflow: fetch release id automatically

Improve workflow: fetch release id automatically #5

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
opensearchVersion: ['2.5.0', '2.9.0']
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 17
- uses: gradle/wrapper-validation-action@v1
- uses: gradle/gradle-build-action@v2
with:
arguments: build -DopensearchVersion=${{ matrix.opensearchVersion }}