Merge pull request #2129 from opensearch-project/create-pull-request/… #3062
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 JDBC Java CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: sql-jdbc | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up JDK 1.14 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.14 | |
- name: Build with Gradle | |
run: ./gradlew build test shadowJar | |
- name: Create Artifact Path | |
run: | | |
mkdir -p sql-jdbc-builds | |
cp ./build/libs/*.jar sql-jdbc-builds | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v1 | |
with: | |
name: sql-jdbc | |
path: sql-jdbc/sql-jdbc-builds |