File tree Expand file tree Collapse file tree 1 file changed +3
-30
lines changed Expand file tree Collapse file tree 1 file changed +3
-30
lines changed Original file line number Diff line number Diff line change @@ -24,39 +24,12 @@ jobs:
24
24
run : |
25
25
brew install pandoc
26
26
27
- - name : Query dependencies
28
- run : |
29
- install.packages('remotes')
30
- saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
31
- writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version")
32
- shell : Rscript {0}
33
-
34
- - name : Cache R packages
35
- uses : actions/cache@v4.1.2
36
- with :
37
- path : ${{ env.R_LIBS_USER }}
38
- key : ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-2-${{ hashFiles('.github/depends.Rds') }}
39
- restore-keys : ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-2-
40
-
41
- - name : Install dependencies
42
- run : |
43
- install.packages(c("remotes"))
44
- remotes::install_deps(dependencies = TRUE)
45
- remotes::install_cran("covr")
46
- shell : Rscript {0}
47
-
48
- - name : Cache bookdown results
49
- uses : actions/cache@v4.1.2
50
- with :
51
- path : _bookdown_files
52
- key : bookdown-${{ hashFiles('**/*Rmd') }}
53
- restore-keys : bookdown-
54
-
55
- - name : Build manual
27
+ - name : Build design specification
56
28
run : |
29
+ install.packages("bookdown")
57
30
bookdown::render_book(input = "index.Rmd", output_format = "bookdown::gitbook")
58
31
shell : Rscript {0}
59
32
60
- - name : Publish manual
33
+ - name : Publish design specification
61
34
run : |
62
35
./inst/publish.sh
You can’t perform that action at this time.
0 commit comments