From f463611c2f767e92b45ebbc1aad36a86bb7b9b8b Mon Sep 17 00:00:00 2001 From: Pawel Rucki <12943682+pawelru@users.noreply.github.com> Date: Thu, 10 Oct 2024 10:57:13 +0200 Subject: [PATCH] A new `install-quarto` param (#12) Adds a new parameter to the action and pass it down into the `r-lib/actions/setup-r-dependencies@v2` This is needed as install quarto does not work for all machines in rhub workflows --- README.md | 8 ++++++++ action.yaml | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/README.md b/README.md index 208669a..ed26d0c 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,14 @@ Insights Engineering _Default_: `""` +* `install-quarto`: + + _Description_: Passed to `r-lib/actions/setup-r-dependencies`. + + _Required_: `false` + + _Default_: `auto` + * `needs`: _Description_: Passed to `r-lib/actions/setup-r-dependencies`. The value will be amended by `DepsBranch` and `DepsDev` values. diff --git a/action.yaml b/action.yaml index bda69e8..65a4fc1 100644 --- a/action.yaml +++ b/action.yaml @@ -27,6 +27,10 @@ inputs: description: Passed to `r-lib/actions/setup-r-dependencies`. required: false default: "" + install-quarto: + description: Passed to `r-lib/actions/setup-r-dependencies`. + required: false + default: "auto" needs: description: | Passed to `r-lib/actions/setup-r-dependencies`. @@ -107,6 +111,7 @@ runs: any::desc any::pkgcache install-pandoc: false + install-quarto: false - name: Set repositories run: | @@ -395,6 +400,7 @@ runs: DepsBranch DepsDev dependencies: ${{ inputs.dependencies }} + install-quarto: ${{ inputs.install-quarto }} - name: Restore DESCRIPTION if: ${{ inputs.restore-description == 'true' }}