Skip to content

Commit eee1f0b

Browse files
committed
Use inputs
1 parent 5dd9b43 commit eee1f0b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/crossplane.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
on:
22
workflow_call:
3+
inputs:
4+
environment:
5+
required: true
6+
type: string
7+
service_name:
8+
required: true
9+
type: string
310

411
jobs:
512
crossplane-terraform:
@@ -16,6 +23,8 @@ jobs:
1623
echo "1: $SERVICE_NAME"
1724
echo "2: ${{ vars.SERVICE_NAME }}"
1825
echo "3: ${{ env.SERVICE_NAME }}"
26+
echo "4: ${{ inputs.service_name }}"
1927
echo "1: $BANANA"
2028
echo "2: ${{ vars.BANANA }}"
2129
echo "3: ${{ env.BANANA }}"
30+
echo "4: ${{ inputs.environment }}"

0 commit comments

Comments
 (0)