From cbbb1e52acb1f4676b9d963ed1f07fc2969585ee Mon Sep 17 00:00:00 2001 From: chrislu Date: Mon, 24 Nov 2025 21:42:15 -0800 Subject: [PATCH] clean --- .github/workflows/spark-integration-tests.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/spark-integration-tests.yml b/.github/workflows/spark-integration-tests.yml index c98061d92..5d4e7ccd9 100644 --- a/.github/workflows/spark-integration-tests.yml +++ b/.github/workflows/spark-integration-tests.yml @@ -195,10 +195,18 @@ jobs: curl -f http://localhost:9333/cluster/status || exit 1 echo "OK All services healthy" + - name: Clean target directory + if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' + working-directory: test/java/spark + run: | + # Force remove target directory to avoid permission issues + sudo rm -rf target || rm -rf target || true + echo "OK Target directory cleaned" + - name: Build project for example if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' working-directory: test/java/spark - run: mvn clean package -DskipTests + run: mvn package -DskipTests - name: Run Spark example application if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'