Increment version to 1.3.13-SNAPSHOT (#1955) #5538
Workflow file for this run
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: SQL Java CI | |
on: [push, pull_request] | |
env: | |
OPENSEARCH_VERSION: '1.3.13-SNAPSHOT' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
java: | |
- 8 | |
- 11 | |
- 14 | |
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 assemble -Dopensearch.version=${{ env.OPENSEARCH_VERSION }} | |
- name: Run backward compatibility tests | |
run: ./bwctest.sh | |
- name: Create Artifact Path | |
run: | | |
mkdir -p opensearch-sql-builds | |
cp -r ./plugin/build/distributions/*.zip opensearch-sql-builds/ | |
# This step uses the codecov-action Github action: https://github.com/codecov/codecov-action | |
- name: Upload SQL Coverage Report | |
uses: codecov/codecov-action@v1 | |
with: | |
flags: sql-engine | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v1 | |
with: | |
name: opensearch-sql | |
path: opensearch-sql-builds |