From c307518faed2c46c182cffb0db5f50f09c247e5b Mon Sep 17 00:00:00 2001 From: Chao Sun Date: Mon, 4 Mar 2024 16:44:54 -0800 Subject: [PATCH] build Comet --- .github/actions/setup-spark-builder/action.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup-spark-builder/action.yaml b/.github/actions/setup-spark-builder/action.yaml index 0a735d84c..910263d8e 100644 --- a/.github/actions/setup-spark-builder/action.yaml +++ b/.github/actions/setup-spark-builder/action.yaml @@ -18,8 +18,12 @@ name: Setup Spark Builder description: 'Setup Apache Spark to run SQL tests' inputs: + spark-short-version: + description: 'The Apache Spark short version (e.g., 3.4) to build' + required: true + default: '3.4' spark-version: - description: 'The Apache Spark version to build' + description: 'The Apache Spark version (e.g., 3.4.2) to build' required: true default: '3.4.2' comet-version: @@ -44,3 +48,7 @@ runs: git apply ../dev/diffs/${{inputs.spark-version}}.diff ../mvnw -nsu -q versions:set-property -Dproperty=comet.version -DnewVersion=${{inputs.comet-version}} -DgenerateBackupPoms=false + - name: Build Comet + shell: bash + run: | + PROFILES="-Pspark-${{inputs.spark-short-version}}" make release