diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 0b01988..b99088f 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -48,6 +48,12 @@ jobs: rm -f ccache-*-linux-x86_64.tar.xz ccache --version + - name: Sudo Tar Wrapper + run: | + sudo mv -fv /usr/bin/tar /usr/bin/tar.orig + echo -e '#!/bin/sh\n\nsudo /usr/bin/tar.orig "$@"' | sudo tee -a /usr/bin/tar + sudo chmod +x /usr/bin/tar + - name: Restore CUDA Cache uses: actions/cache@v4 id: cuda-cache