Bump com.google.protobuf:protobuf-java in /spark/sql-30 #368
Workflow file for this run
This file contains hidden or 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 and test spark 40 | |
| on: [push, pull_request] | |
| jobs: | |
| build-and-test-spark-40: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| os: [ubuntu-latest] | |
| java: ['17', '21'] | |
| steps: | |
| - name: Checkout Branch | |
| uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@17f84c3641ba7b8f6deff6309fc4c864478f5d62 # v3 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| cache: 'gradle' | |
| - name: 'Setup: Java 17 env' | |
| run: echo "JAVA17_HOME=$JAVA_HOME" >> $GITHUB_ENV | |
| - name: Set up test JDK ${{ matrix.java }} | |
| uses: actions/setup-java@17f84c3641ba7b8f6deff6309fc4c864478f5d62 # v3 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{ matrix.java }} | |
| - name: 'Setup: Spark test Java env' | |
| run: echo "SPARK_TEST_JAVA_HOME=$JAVA_HOME" >> $GITHUB_ENV | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@17f84c3641ba7b8f6deff6309fc4c864478f5d62 # v3 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| cache: 'gradle' | |
| - name: 'Setup: Java 21 env' | |
| run: echo "JAVA21_HOME=$JAVA_HOME" >> $GITHUB_ENV | |
| - name: Setup Gradle | |
| uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2 | |
| - name: Build with Gradle | |
| run: ./gradlew opensearch-spark-40:integrationTest | |
| - name: Publish Test Results | |
| if: failure() | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 | |
| with: | |
| name: test-results-${{ matrix.os }}-java${{ matrix.java }} | |
| path: '**/build/test-results' |