Create opensearch-cross-cluster-replication.release-notes-2.11.0.md (… #1977
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: Build Replication plugin | |
# This workflow is triggered on pull requests to main branch | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- '*' | |
# We build for other platforms except linux which is already covered in build-and-test. | |
# Also, We're not running tests here as those are already covered with linux build. | |
jobs: | |
build: | |
continue-on-error: true | |
strategy: | |
matrix: | |
java: | |
- 17 | |
os: | |
- windows-latest | |
- macos-latest | |
# Job name | |
name: Java ${{ matrix.java }} On ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
# This step uses the setup-java Github action: https://github.com/actions/setup-java | |
- name: Set Up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
# This step uses the checkout Github action: https://github.com/actions/checkout | |
- name: Checkout Branch | |
uses: actions/checkout@v2 | |
- name: Build and run Replication tests | |
run: | | |
./gradlew clean release -D"build.snapshot=true" -x test -x IntegTest |