Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
be more precise with the r cache
Browse files Browse the repository at this point in the history
zktuong committed Nov 22, 2024
1 parent a28d68c commit b37f3ea
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/R-CMD-check.yml
Original file line number Diff line number Diff line change
@@ -35,9 +35,10 @@ jobs:
uses: actions/cache@v4
with:
path: /home/runner/work/_temp/Library
key: ${{ runner.OS }}-r-cache-${{ hashFiles('.github/depends.Rds') }}
key: ${{ runner.OS }}-${{ steps.install-r.outputs.installed-r-version }}-cache-${{ hashFiles('.github/depends.Rds') }}
restore-keys: |
${{ runner.OS }}-r-cache-
${{ runner.OS }}-${{ steps.install-r.outputs.installed-r-version }}-cache-
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
4 changes: 2 additions & 2 deletions .github/workflows/vignette.yml
Original file line number Diff line number Diff line change
@@ -32,9 +32,9 @@ jobs:
uses: actions/cache@v4
with:
path: /home/runner/work/_temp/Library
key: ${{ runner.OS }}-r-cache-${{ hashFiles('.github/depends.Rds') }}
key: ${{ runner.OS }}-${{ steps.install-r.outputs.installed-r-version }}-cache-${{ hashFiles('.github/depends.Rds') }}
restore-keys: |
${{ runner.OS }}-r-cache-
${{ runner.OS }}-${{ steps.install-r.outputs.installed-r-version }}-cache-
- uses: r-lib/actions/setup-r-dependencies@v2
with:

0 comments on commit b37f3ea

Please sign in to comment.