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:
parent
1335db6113
commit
dbf7e9d3cb
7
.github/workflows/r_tests.yml
vendored
7
.github/workflows/r_tests.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user