From 0a5485d8a041881f8898db95d2b025eff5c162fb Mon Sep 17 00:00:00 2001 From: Felix Marty <9808326+fxmarty@users.noreply.github.com> Date: Thu, 27 Jun 2024 14:51:11 +0000 Subject: [PATCH] avoid permissions issues --- .github/workflows/build.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f3e60097..49625792 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -210,6 +210,11 @@ jobs: pip3 install -U huggingface_hub python3 integration-tests/clean_cache_and_download.py --token ${{ secrets.HF_TOKEN }} --cache-dir /data + + # Avoid permissions issues in the next step not run within docker (File was unable to be removed Error: EACCES). + if [[ $PWD == *"text-generation-inference"* ]]; then + rm -rf * + fi fi integration_tests: