Skip to content

Commit

Permalink
Only run steps if some plugins are specified
Browse files Browse the repository at this point in the history
  • Loading branch information
xSAVIKx committed Dec 19, 2023
1 parent 3f63f36 commit 882bf33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Expand Up @@ -24,7 +24,8 @@ runs:
run: |
pip install poetry==${{ inputs.poetry-version }}
shell: bash
- run: |
- if: ${{ inputs.poetry-plugins != '' }}
run: |
ALL_PLUGINS=$(echo "${{ inputs.poetry-plugins }}")
for PLUGIN in $ALL_PLUGINS; do
poetry self add $PLUGIN
Expand Down

0 comments on commit 882bf33

Please sign in to comment.