From aa81905641fd5e956585c217646fa3db639339db Mon Sep 17 00:00:00 2001 From: Sai Pavan Kamma Date: Wed, 14 Aug 2024 14:54:17 -0400 Subject: [PATCH] Fix the multiple run commands issue --- .github/workflows/pkgdown.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index c4de41b..4dca243 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -37,9 +37,10 @@ jobs: run: Rscript -e 'install.packages("devtools")' - name: Install all dependencies for the current R environment - run: Rscript -e 'devtools::install_github("ctsit/redcapcustodian")' - run: Rscript -e 'devtools::install_github("ctsit/rcc.ctsit", auth_token = Sys.getenv("CR_PAT"))' - run: Rscript -e 'devtools::install(dependencies = TRUE, auth_token = Sys.getenv("CR_PAT"), upgrade = "never")' + run: | + Rscript -e 'devtools::install_github("ctsit/redcapcustodian")' + Rscript -e 'devtools::install_github("ctsit/rcc.ctsit", auth_token = Sys.getenv("CR_PAT"))' + Rscript -e 'devtools::install(dependencies = TRUE, auth_token = Sys.getenv("CR_PAT"), upgrade = "never")' - uses: r-lib/actions/setup-r-dependencies@v2 with: