diff --git a/.github/workflows/kernelsu-los20.yml b/.github/workflows/kernelsu-los20.yml index 24cb4bf96eb6..75f4d726771b 100644 --- a/.github/workflows/kernelsu-los20.yml +++ b/.github/workflows/kernelsu-los20.yml @@ -30,6 +30,12 @@ jobs: - name: Set up ccache uses: hendrikmuhs/ccache-action@v1.2 + - name: Remove unnecessary files + run: | + sudo rm -rf /opt/ghc + sudo rm -rf "/usr/local/share/boost" + sudo rm -rf /usr/share/dotnet + sudo rm -rf "$AGENT_TOOLSDIRECTORY" - name: Install dependencies run: | sudo apt-get update -y @@ -40,12 +46,6 @@ jobs: git clone https://github.com/LineageOS/android_prebuilts_gcc_linux-x86_aarch64_aarch64-linux-android-4.9 aarch64 git clone https://github.com/snowwolf725/AnyKernel3 -b oneplus7 --depth=1 rm -rf AnyKernel3/.git - - name: Remove unnecessary files - run: | - sudo rm -rf /opt/ghc - sudo rm -rf "/usr/local/share/boost" - sudo rm -rf /usr/share/dotnet - sudo rm -rf "$AGENT_TOOLSDIRECTORY" - name: Get Version id: get_version run: |