Skip to content

Commit

Permalink
ci: openjdk-8 requires apt-get update
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrugman authored and Simon Brugman committed Jun 23, 2021
1 parent 36120a9 commit 7dc61db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Expand Up @@ -36,6 +36,7 @@ jobs:
SPARK_HOME: "/home/runner/work/spark/" #${{ github.workspace }}/spark/
SPARK_LOCAL_IP: "localhost"
run: |
sudo apt-get update
sudo apt-get -y install openjdk-8-jdk
curl https://archive.apache.org/dist/spark/spark-${SPARK_VERSION}/spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}.tgz --output ${BUILD_DIR}/spark.tgz
tar -xvzf ${BUILD_DIR}/spark.tgz && mv spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION} ${SPARK_HOME}
Expand Down

0 comments on commit 7dc61db

Please sign in to comment.