Skip to content

Commit

Permalink
CI: Update used workflow versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sanssecours committed Jun 27, 2023
1 parent aa7e210 commit d9ad55c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/deploy-bookdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,27 @@ jobs:
runs-on: macOS-latest
steps:

- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true

- uses: r-lib/actions/setup-r@v1
- name: Install R
uses: r-lib/actions/setup-r@v2

- uses: r-lib/actions/setup-pandoc@v1
- name: Install Pandoc
uses: r-lib/actions/setup-pandoc@v2

- name: Install TinyTeX
uses: r-lib/actions/setup-tinytex@v2

- name: Install bookdown
run: |
Rscript -e "install.packages(c('rmarkdown', 'bookdown'))"
Rscript -e "install.packages('tinytex')"
Rscript -e "tinytex::install_tinytex()"
run: Rscript -e "install.packages(c('rmarkdown', 'bookdown'))"

- name: Build book
run: make

- uses: actions/upload-artifact@v2
- name: Upload documentation
uses: actions/upload-artifact@v3
with:
name: Bookdown
path: Bookdown
Expand All @@ -41,7 +44,7 @@ jobs:
uses: actions/checkout@master

- name: Download HTML
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: Bookdown
path: Bookdown
Expand Down
2 changes: 1 addition & 1 deletion Testing

0 comments on commit d9ad55c

Please sign in to comment.