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.
This commit is contained in:
Jiaming Yuan 2021-02-09 18:53:20 +08:00 committed by GitHub
parent 1335db6113
commit dbf7e9d3cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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