Skip to content

Commit

Permalink
fix checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
sunchao committed Mar 5, 2024
1 parent 884386b commit 7bbd72a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/actions/setup-spark-builder/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,17 @@ runs:
using: "composite"
steps:
- name: Clone Spark repo
uses: actions/checkout@v4
with:
repository: apache/spark
path: apache-spark
ref: v${{inputs.spark-version}}
fetch-depth: 1

- name: Setup Spark for Comet
shell: bash
run: |
git clone [email protected]:apache/spark.git --depth 1 --branch v${{inputs.spark-version}} apache-spark
cd apache-spark
git apply dev/diffs/${{inputs.spark-version}}.diff
git apply ../dev/diffs/${{inputs.spark-version}}.diff
../mvnw -nsu -q versions:set-property -Dproperty=comet.version -DnewVersion=${{inputs.comet-version}} -DgenerateBackupPoms=false

0 comments on commit 7bbd72a

Please sign in to comment.