From 350f41be31622a96a09a721caf6b700ea472df03 Mon Sep 17 00:00:00 2001 From: Mohamed Fazil Date: Tue, 20 Aug 2024 20:41:36 -0700 Subject: [PATCH] Workflow non root user fix 6 --- .github/workflows/build_test.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_test.yaml b/.github/workflows/build_test.yaml index 0f76809c..2138a98e 100644 --- a/.github/workflows/build_test.yaml +++ b/.github/workflows/build_test.yaml @@ -15,7 +15,10 @@ jobs: steps: # The "cleanup old checkout" step is needed because of this bug: https://github.com/actions/checkout/issues/1014 - name: cleanup old checkout - run: sudo chmod +w -R ${GITHUB_WORKSPACE}; rm -rf ${GITHUB_WORKSPACE}/*; + run: | + echo "Current directory is $(pwd)" + echo "Present files are $(ls)" + sudo chmod +w -R ${GITHUB_WORKSPACE}; rm -rf ${GITHUB_WORKSPACE}/*; - uses: actions/checkout@v4 - name: Configure working direcotry run: |