From dbf7e9d3cbc0adc1c8cea5f1002fcc01fc6e121b Mon Sep 17 00:00:00 2001 From: Jiaming Yuan Date: Tue, 9 Feb 2021 18:53:20 +0800 Subject: [PATCH] Remove R cache in github action. (#6695) The cache stores outdated packages with wrong linkage. Right now there's no way to clear the cache. --- .github/workflows/r_tests.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/r_tests.yml b/.github/workflows/r_tests.yml index 6900fd655..8d3714acb 100644 --- a/.github/workflows/r_tests.yml +++ b/.github/workflows/r_tests.yml @@ -112,13 +112,6 @@ jobs: - uses: r-lib/actions/setup-tinytex@master - - name: Cache R packages - uses: actions/cache@v2 - with: - path: ${{ env.R_LIBS_USER }} - key: ${{ runner.os }}-r-${{ matrix.config.r }}-1-${{ hashFiles('R-package/DESCRIPTION') }} - restore-keys: ${{ runner.os }}-r-${{ matrix.config.r }}-2- - - name: Install system packages run: | sudo apt-get update && sudo apt-get install libcurl4-openssl-dev libssl-dev libssh2-1-dev libgit2-dev