Skip to content

Commit 12aa24b

Browse files
committed
Only cache netdiffuseR
1 parent 0aaa9c7 commit 12aa24b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/website.yaml

+7-3
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,21 @@ jobs:
1919
/usr/lib/R/site-library/
2020
key: ${{ runner.os }}
2121

22-
- name: Install netdiffuseR
22+
- name: Download netdiffuseR
23+
if: steps.cache-r-packages.outputs.cache-hit != 'true'
2324
uses: actions/checkout@v4
2425
with:
2526
repository: USCCANA/netdiffuseR
2627
path: netdiffuseR
2728

28-
- name: Install netdiffuseR
29-
if: steps.cache-r-packages.outputs.cache-hit != 'true'
29+
- name: Install dependencies
3030
run: |
3131
install2.r igraph networkDynamic statnet Rcpp MatchIt \
3232
SparseM viridisLite RcppArmadillo rmarkdown knitr microbenchmark
33+
34+
- name: Install netdiffuseR
35+
if: steps.cache-r-packages.outputs.cache-hit != 'true'
36+
run: |
3337
R CMD INSTALL netdiffuseR
3438
rm -rf netdiffuseR
3539

0 commit comments

Comments
 (0)