5454 fail-fast : false
5555 matrix :
5656 config :
57- - { os: ubuntu-latest, r: '4.3', bioc: '3.17', cont: "bioconductor/bioconductor_docker:RELEASE_3_17", rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal /latest" }
57+ - { os: ubuntu-latest, r: '4.3', bioc: '3.17', cont: "bioconductor/bioconductor_docker:RELEASE_3_17", rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy /latest" }
5858 - { os: macOS-latest, r: '4.3', bioc: '3.17'}
5959 - { os: windows-latest, r: '4.3', bioc: '3.17'}
6060 # # Check https://github.com/r-lib/actions/tree/master/examples
@@ -107,8 +107,8 @@ jobs:
107107 uses : actions/cache@v3
108108 with :
109109 path : ${{ env.R_LIBS_USER }}
110- key : ${{ env.cache-version }}-${{ runner.os }}-biocversion-devel -r-4.3-${{ hashFiles('.github/depends.Rds') }}
111- restore-keys : ${{ env.cache-version }}-${{ runner.os }}-biocversion-devel -r-4.3-
110+ key : ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE -r-4.3-${{ hashFiles('.github/depends.Rds') }}
111+ restore-keys : ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE -r-4.3-
112112
113113 - name : Cache R packages on Linux
114114 if : " !contains(github.event.head_commit.message, '/nocache') && runner.os == 'Linux' "
@@ -121,7 +121,7 @@ jobs:
121121 - name : Install Linux system dependencies
122122 if : runner.os == 'Linux'
123123 run : |
124- sysreqs=$(Rscript -e 'cat("apt-get update -y && apt-get install -y", paste(gsub("apt-get install -y ", "", remotes::system_requirements("ubuntu", "22 .04")), collapse = " "))')
124+ sysreqs=$(Rscript -e 'cat("apt-get update -y && apt-get install -y", paste(gsub("apt-get install -y ", "", remotes::system_requirements("ubuntu", "20 .04")), collapse = " "))')
125125 echo $sysreqs
126126 sudo -s eval "$sysreqs"
127127
@@ -315,13 +315,21 @@ jobs:
315315 if : github.ref == 'refs/heads/devel' && env.run_pkgdown == 'true' && runner.os == 'Linux'
316316 run : R CMD INSTALL .
317317
318- - name : Build and deploy pkgdown site
318+
319+ - name : Deploy pkgdown site to GitHub pages 🚀
319320 if : github.ref == 'refs/heads/devel' && env.run_pkgdown == 'true' && runner.os == 'Linux'
320- run : |
321- git config --local user.name "$GITHUB_ACTOR"
322- git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com"
323- Rscript -e "pkgdown::deploy_to_branch(new_process = FALSE)"
324- shell : bash {0}
321+ uses : JamesIves/github-pages-deploy-action@releases/v4
322+ with :
323+ clean : false
324+ branch : gh-pages
325+ folder : docs
326+ # - name: Build and deploy pkgdown site
327+ # if: github.ref == 'refs/heads/devel' && env.run_pkgdown == 'true' && runner.os == 'Linux'
328+ # run: |
329+ # git config --local user.name "$GITHUB_ACTOR"
330+ # git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com"
331+ # Rscript -e "pkgdown::deploy_to_branch(new_process = FALSE)"
332+ # shell: bash {0}
325333 # # Note that you need to run pkgdown::deploy_to_branch(new_process = FALSE)
326334 # # at least one locally before this will work. This creates the gh-pages
327335 # # branch (erasing anything you haven't version controlled!) and
@@ -331,7 +339,7 @@ jobs:
331339 if : failure()
332340 uses : actions/upload-artifact@v2
333341 with :
334- name : ${{ runner.os }}-biocversion-devel -r-4.3-results
342+ name : ${{ runner.os }}-biocversion-RELEASE -r-4.3-results
335343 path : check
336344
337345 - uses : docker/build-push-action@v1
0 commit comments