Skip to content

Commit f8b46ea

Browse files
authored
Merge pull request #1133 from cmu-delphi/survey-ci-daily-caching
Switch survey CI to use daily caching
2 parents 48c1ca0 + 5bd0aa8 commit f8b46ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/r-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ jobs:
3535
- name: Install linux dependencies
3636
run: |
3737
sudo apt-get install libcurl4-openssl-dev
38-
- name: Get month
39-
id: get-month
38+
- name: Get date
39+
id: get-date
4040
run: |
41-
echo "::set-output name=month::$(/bin/date -u "+%Y%m")"
41+
echo "::set-output name=date::$(/bin/date -u "+%Y%m%d")"
4242
- name: Cache R packages
4343
uses: actions/cache@v2
4444
with:
4545
path: ${{ env.R_LIBS_USER }}
46-
key: ${{ runner.os }}-r-facebook-survey-${{ steps.get-month.outputs.month }}
46+
key: ${{ runner.os }}-r-facebook-survey-${{ steps.get-date.outputs.date }}
4747
restore-keys: |
4848
${{ runner.os }}-r-facebook-survey-
4949
- name: Install R dependencies

0 commit comments

Comments
 (0)