Update dependency org.opensearch:opensearch to v2.18.0 (#89) #92
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |