Skip to content

Commit be126c8

Browse files
committed
refactor: save PACKAGES in repos dir
1 parent 8a4d689 commit be126c8

5 files changed

Lines changed: 3 additions & 213723 deletions

File tree

.github/workflows/CRAN-PACKAGES.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515

1616
- name: Download PACKAGES file
1717
run: |
18-
DATE=$(date -u '+%Y-%m-%d')
19-
curl -fsSL https://cran.r-project.org/src/contrib/PACKAGES \
20-
-o "inst/packages/$DATE"
18+
REPO_PATH="inst/repos/$(date -u '+%Y-%m-%d')/src/contrib"
19+
mkdir -p $REPO_PATH
20+
curl -fsSL https://cran.r-project.org/src/contrib/PACKAGES -o $REPO_PATH/PACKAGES
2121
2222
- name: Commit and push
2323
run: |

inst/.DS_Store

8 KB
Binary file not shown.

inst/packages/.gitkeep

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)