Skip to content

Commit

Permalink
update the action
Browse files Browse the repository at this point in the history
  • Loading branch information
tuner committed Jan 14, 2025
1 parent 8614ade commit 484ba1a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build-and-deploy-vignette.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,23 @@ jobs:
- name: Set up R
uses: r-lib/actions/setup-r@v2

- name: Cache R packages
uses: actions/cache@v3
with:
path: ~/.R/library
key: ${{ runner.os }}-r-${{ hashFiles('**/DESCRIPTION', '**/NAMESPACE') }}
restore-keys: |
${{ runner.os }}-r-
- name: Install dependencies
run: |
install.packages('devtools')
install.packages("devtools")
devtools::install_deps(dependencies = TRUE)
- name: Install the jellyfisher package
run: |
R CMD INSTALL .
- name: Build vignette
run: |
R -e 'rmarkdown::render("vignettes/introduction.Rmd", output_file = "docs/introduction.html")'
Expand Down

0 comments on commit 484ba1a

Please sign in to comment.