Skip to content

Commit 4b27d31

Browse files
chore: update inputs to reusable action
1 parent 521f6a6 commit 4b27d31

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/scripts/action.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ inputs:
3333
showcase_mode:
3434
description: true if we need to download the showcase api definitions
3535
required: false
36+
api_def_dir:
37+
description: Path to api definitions (e.g. googleapis). Used when a custom set of protos is needed.
38+
required: false
3639
token:
3740
description: Personal Access Token
3841
required: true
@@ -76,10 +79,12 @@ runs:
7679
--target_branch "${BASE_REF}" \
7780
--current_branch "${HEAD_REF}" \
7881
--showcase_mode "${SHOWCASE_MODE}" \
82+
--api_def_dir "${API_DEF_DIR}" \
7983
--image_tag "${IMAGE_TAG}"
8084
env:
8185
BASE_REF: ${{ inputs.base_ref }}
8286
HEAD_REF: ${{ inputs.head_ref }}
8387
IMAGE_TAG: ${{ inputs.image_tag }}
8488
SHOWCASE_MODE: ${{ inputs.showcase_mode }}
89+
API_DEF_DIR: ${{ inputs.api_def_dir }}
8590
GH_TOKEN: ${{ inputs.token }}

0 commit comments

Comments
 (0)