From a237dcc3184c96a3eaac1476b11c79fc612d5140 Mon Sep 17 00:00:00 2001 From: Pawel Rucki <12943682+pawelru@users.noreply.github.com> Date: Thu, 31 Oct 2024 15:58:25 +0100 Subject: [PATCH] build-check-install - extend params for setup-r-depenencies --- .github/workflows/build-check-install.yaml | 34 +++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-check-install.yaml b/.github/workflows/build-check-install.yaml index 035e3b64..b3541315 100644 --- a/.github/workflows/build-check-install.yaml +++ b/.github/workflows/build-check-install.yaml @@ -144,6 +144,34 @@ on: required: false type: string default: "" + skip-desc-branch: + description: | + Passed to `insightsengineering/actions/setup-r-dependencies`. + Used only if deps-installation-method == 'setup-r-dependencies'. + required: false + type: boolean + default: false + skip-desc-dev: + description: | + Passed to `insightsengineering/actions/setup-r-dependencies`. + Used only if deps-installation-method == 'setup-r-dependencies'. + required: false + type: boolean + default: false + repository-list: + description: | + Passed to `insightsengineering/actions/setup-r-dependencies`. + Used only if deps-installation-method == 'setup-r-dependencies'. + required: false + type: string + default: "PPM@latest" + cache-version: + description: | + Passed to `insightsengineering/actions/setup-r-dependencies`. + Used only if deps-installation-method == 'setup-r-dependencies'. + required: true + type: string + default: "1" unit-test-report-brand: description: Image URL to use in unit test report for branding. If empty, the default xunit-viewer brand will be used. required: false @@ -408,11 +436,15 @@ jobs: if: >- env.deps_installation_method == 'setup-r-dependencies' && inputs.install-deps-from-package-repositories == '' - uses: insightsengineering/setup-r-dependencies@v1 + uses: insightsengineering/setup-r-dependencies@new_param_cache_version #@TODO: revert with: lookup-refs: ${{ inputs.lookup-refs }} github-token: ${{ steps.github-token.outputs.token }} repository-path: ${{ github.event.repository.name }} + skip-desc-branch: ${{ inputs.skip-desc-branch }} + skip-desc-dev: ${{ inputs.skip-desc-dev }} + repository-list: ${{ inputs.repository-list }} + cache-version: ${{ inputs.cache-version }} - name: Install dependencies from package repositories 🗄️ if: inputs.install-deps-from-package-repositories != ''