Skip to content

Commit b32ed7f

Browse files
committed
test run with no cache
1 parent 985e98b commit b32ed7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/r-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ jobs:
4343
uses: actions/cache@v2
4444
with:
4545
path: ${{ env.R_LIBS_USER }}
46-
key: ${{ runner.os }}-r-facebook-survey-${{ steps.get-date.outputs.date }}
46+
key: ${{ runner.os }}-r-facebook-survey-${{ steps.get-date.outputs.date }}-testcache
4747
restore-keys: |
48-
${{ runner.os }}-r-facebook-survey-
48+
${{ runner.os }}-r-facebook-survey-testcache
4949
- name: Install R dependencies
5050
run: |
51-
if ( packageVersion("readr") != "1.4.0" ) {
51+
if ( !require("readr") || packageVersion("readr") != "1.4.0" ) {
5252
install.packages("devtools")
5353
devtools::install_version("readr", version = "1.4.0")
5454
}

0 commit comments

Comments
 (0)