Skip to content

Commit

Permalink
Update R-CMD-check-month-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ohagen committed Jun 15, 2024
1 parent f7e577f commit bb191ed
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/R-CMD-check-month-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,16 @@ jobs:
sudo apt-get install -y libudunits2-dev libgdal-dev libgeos-dev libproj-dev
sudo apt-get install -y texlive texlive-latex-extra texlive-fonts-recommended texlive-fonts-extra texinfo ghostscript
- name: Determine Cache Key
id: cache-key
run: |
echo "CACHE_KEY=renv-$(date +%Y-%m)" >> $GITHUB_ENV
- name: Cache R packages
uses: actions/cache@v3
with:
path: ~/.R/library
key: ${{ runner.os }}-renv-${{ hashFiles('**/DESCRIPTION') }}
key: ${{ runner.os }}-${{ env.CACHE_KEY }}-${{ hashFiles('**/DESCRIPTION') }}
restore-keys: |
${{ runner.os }}-renv-
Expand Down

0 comments on commit bb191ed

Please sign in to comment.