From 9ad578a9c8a15d663ef46df8694a23bab78ad34b Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Sun, 4 Feb 2024 11:55:32 +0800 Subject: [PATCH] Fix build Signed-off-by: Xuanwo --- .github/services/hdfs/hdfs_default/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/services/hdfs/hdfs_default/action.yml b/.github/services/hdfs/hdfs_default/action.yml index 19eefab71e25..d4bdce0765d1 100644 --- a/.github/services/hdfs/hdfs_default/action.yml +++ b/.github/services/hdfs/hdfs_default/action.yml @@ -30,11 +30,12 @@ runs: shell: bash run: | curl -LsSf https://dlcdn.apache.org/hadoop/common/hadoop-3.3.5/hadoop-3.3.5.tar.gz | tar zxf - -C /home/runner - cp ${{ github.workspace }}/fixtures/hdfs/hdfs-site.xml ${{ env.HADOOP_HOME }}/etc/hadoop/hdfs-site.xml export HADOOP_HOME="/home/runner/hadoop-3.3.5" export CLASSPATH=$(${HADOOP_HOME}/bin/hadoop classpath --glob) + cp ./fixtures/hdfs/hdfs-site.xml ${HADOOP_HOME}/etc/hadoop/hdfs-site.xml + cat << EOF >> $GITHUB_ENV HADOOP_HOME=${HADOOP_HOME} CLASSPATH=${CLASSPATH}