Skip to content

Update dependency org.opensearch:opensearch to v2.18.0 (#89) #92

Update dependency org.opensearch:opensearch to v2.18.0 (#89)

Update dependency org.opensearch:opensearch to v2.18.0 (#89) #92

name: Test and Build OpenSearch Simple Schema Backend Plugin
on:
workflow_dispatch:
pull_request:
push:
branches-ignore:
- 'dependabot/**'
jobs:
build:
strategy:
matrix:
java:
- 11
- 17
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build with Gradle
run: |
./gradlew build
- name: Upload coverage
uses: codecov/codecov-action@v1
with:
flags: opensearch-simpleschema
directory: opensearch-simpleschema/
token: ${{ secrets.CODECOV_TOKEN }}
- name: Create Artifact Path
run: |
mkdir -p simpleschema-builds
cp -r ./build/distributions/*.jar simpleschema-builds/
- name: Upload Artifacts
uses: actions/upload-artifact@v1
with:
name: opensearch-simpleschema
path: simpleschema-builds