Skip to content

Commit 16b1f16

Browse files
authored
chore: add provider var to action (#4)
1 parent 10c4e88 commit 16b1f16

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

action.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ inputs:
77
python-version:
88
description: 'Python version to use'
99
default: '3.12'
10+
provider:
11+
description: 'Provider to use'
12+
default: 'aws'
1013
project-path:
1114
description: 'Project path'
1215
required: true
@@ -65,9 +68,9 @@ runs:
6568
run: |
6669
source /opt/strong-opx/bin/activate
6770
if [ "${{ github.action_ref }}" = "master" ] && [ -z "${{ inputs.version }}" ]; then
68-
pip install strong-opx
71+
pip install "strong-opx[${{ inputs.provider }}]"
6972
else
70-
pip install "strong-opx==${{ steps.get-version.outputs.version }}"
73+
pip install "strong-opx[${{ inputs.provider }}]==${{ steps.get-version.outputs.version }}"
7174
fi
7275
7376
- name: register project

0 commit comments

Comments
 (0)