Skip to content

Commit

Permalink
Add ability to install plugins and install export plugin by default
Browse files Browse the repository at this point in the history
  • Loading branch information
xSAVIKx committed Dec 18, 2023
1 parent 7f57d79 commit 9352edb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions action.yml
Expand Up @@ -9,6 +9,10 @@ inputs:
description: "The version of poetry to install"
required: false
default: "latest"
poetry-plugins:
description: "The whitespace/newline-separated list of poetry plugins to install."
required: false
default: "poetry-plugin-export"
runs:
using: "composite"
steps:
Expand All @@ -20,3 +24,9 @@ runs:
run: |
pip install poetry==${{ inputs.poetry-version }}
shell: bash
- run: |
ALL_PLUGINS=$(echo "${{ inputs.poetry-plugins }}")
for PLUGIN in $ALL_PLUGINS; do
poetry self add $PLUGIN
done
shell: bash

0 comments on commit 9352edb

Please sign in to comment.