diff --git a/.github/workflows/build-check-install.yaml b/.github/workflows/build-check-install.yaml index e4375b27..3df33705 100644 --- a/.github/workflows/build-check-install.yaml +++ b/.github/workflows/build-check-install.yaml @@ -122,7 +122,7 @@ on: required: false type: string default: upstream - install-deps-from-cran: + install-deps-from-package-repositories: description: Set this to a comma-separated list of R packages repositories to use for installing dependencies required: false type: string @@ -309,14 +309,14 @@ jobs: path: ${{ github.event.repository.name }} - name: Restore SD cache 💰 - if: inputs.install-deps-from-cran == '' + if: inputs.install-deps-from-package-repositories == '' uses: actions/cache@v3 with: key: sd-${{ runner.os }}-${{ github.event.repository.name }} path: ~/.staged.dependencies - name: Run Staged dependencies 🎦 - if: inputs.install-deps-from-cran == '' + if: inputs.install-deps-from-package-repositories == '' uses: insightsengineering/staged-dependencies-action@v1 env: GITHUB_PAT: ${{ steps.github-token.outputs.token }} @@ -327,7 +327,7 @@ jobs: direction: ${{ inputs.sd-direction }} - name: Install dependencies from package repositories 🗄️ - if: inputs.install-deps-from-cran != '' + if: inputs.install-deps-from-package-repositories != '' run: | split_to_map <- function(args) { tmp <- strsplit(x = unlist(strsplit(args, ",")), "=") @@ -335,7 +335,7 @@ jobs: names(content) <- unlist(lapply(tmp, function(x) x[1])) return(content) } - devtools::install_dev_deps(".", repos = split_to_map("${{ inputs.install-deps-from-cran }}")) + devtools::install_dev_deps(".", repos = split_to_map("${{ inputs.install-deps-from-package-repositories }}")) shell: Rscript {0} working-directory: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}