Skip to content

Commit 8a144cd

Browse files
committed
GHA: cache by runner architecture in addition to OS
1 parent d0f4b30 commit 8a144cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ jobs:
5858
uses: actions/cache@v4
5959
with:
6060
path: ${{ env.R_LIBS_USER }}
61-
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
62-
restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-
61+
key: ${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
62+
restore-keys: ${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.github/R-version') }}-1-
6363

6464
- name: Install system dependencies
6565
if: runner.os == 'Linux'

0 commit comments

Comments
 (0)