Skip to content

Merge pull request #78 from querqy/opensearch_2_7_0 #124

Merge pull request #78 from querqy/opensearch_2_7_0

Merge pull request #78 from querqy/opensearch_2_7_0 #124

name: Test and Build OpenSearch Querqy Plugin
on: [pull_request, push]
env:
PLUGIN_RELEASE_VERSION: '1.0'
OPENSEARCH_VERSION: '2.7.0'
jobs:
build:
strategy:
matrix:
java:
- 11
- 17
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build with Gradle
run: |
./gradlew build -Dopensearch.version=${{ env.OPENSEARCH_VERSION }}
- name: Create Artifact Path
run: |
mkdir -p opensearch-querqy-builds
cp -r ./build/distributions/*.zip opensearch-querqy-builds/
- name: Upload Artifacts
uses: actions/upload-artifact@v1
with:
name: opensearch-querqy-${{ env.PLUGIN_RELEASE_VERSION }}.os${{ env.OPENSEARCH_VERSION }}
path: opensearch-querqy-builds