From 3468102495933636606cd81ac8a52519e72315fb Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Tue, 28 Apr 2026 20:40:18 -0400 Subject: [PATCH] make template file configurable Co-authored-by: Copilot --- action.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index dc1d713..4b09c2b 100644 --- a/action.yaml +++ b/action.yaml @@ -13,6 +13,10 @@ inputs: description: Number of days to retain artifacts required: false default: "14" + template_file: + description: Path to SAM template file + required: false + default: template.yaml packaged_template_file: description: Path to packaged SAM template file required: false @@ -34,7 +38,8 @@ runs: uses: ServerlessOpsIO/gha-package-aws-sam@v1 with: aws_account_region: ${{ inputs.aws_account_region }} - packaged_template_file: packaged-template.yaml + template_file: ${{ inputs.template_file }} + packaged_template_file: ${{ inputs.packaged_template_file }} sam_s3_bucket: ${{ inputs.sam_s3_bucket }} sam_s3_prefix: ${{ inputs.sam_s3_prefix }}