From 0aee7d14035d290c2c5c66fd05e90df7121c2212 Mon Sep 17 00:00:00 2001 From: Matt Griswold Date: Sat, 5 Oct 2024 00:28:47 -0500 Subject: [PATCH] add install options (#2) * add install-options * add install options --- README.md | 4 ++++ poetry/action.yaml | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2df85d8..8932c40 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,10 @@ inputs: required: false default: 3.x type: string + install-options: + required: false + default: "" + type: string outputs: venv-path: description: "virtualenv path" diff --git a/poetry/action.yaml b/poetry/action.yaml index a85aa21..0aefc92 100644 --- a/poetry/action.yaml +++ b/poetry/action.yaml @@ -7,6 +7,10 @@ inputs: required: false default: 3.x type: string + install-options: + required: false + default: "" + type: string outputs: venv-path: description: "virtualenv path" @@ -61,4 +65,4 @@ runs: # install dependencies if cache does not exist - name: Check cache and install dependencies shell: bash - run: poetry install --no-interaction + run: poetry install --no-interaction ${{ inputs.install-options }}