Skip to content

Commit 8d12f53

Browse files
committed
fix: standardize AWS_REGION input to lowercase in coverage workflow
1 parent 974cd5d commit 8d12f53

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/coverage.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ on:
3333
required: false
3434
default: "mvn clean verify"
3535
type: string
36-
AWS_REGION:
36+
aws_region:
3737
description: "AWS Region"
3838
required: false
3939
default: "us-east-1"
@@ -44,8 +44,8 @@ jobs:
4444
permissions: write-all
4545
runs-on: ubuntu-latest
4646
env:
47-
AWS_REGION: ${{ inputs.AWS_REGION || 'us-east-1' }}
48-
AWS_DEFAULT_REGION: ${{ inputs.AWS_REGION || 'us-east-1' }}
47+
AWS_REGION: ${{ inputs.aws_region || 'us-east-1' }}
48+
AWS_DEFAULT_REGION: ${{ inputs.aws_region || 'us-east-1' }}
4949

5050
steps:
5151
- name: Checkout code
@@ -64,6 +64,9 @@ jobs:
6464

6565
- name: Runs test
6666
run: ${{ inputs.test_command }}
67+
env:
68+
AWS_REGION: ${{ inputs.aws_region || 'us-east-1' }}
69+
AWS_DEFAULT_REGION: ${{ inputs.aws_region || 'us-east-1' }}
6770

6871
# Para evitar erros com permissão de escrita
6972
# https://stackoverflow.com/a/75250838/3929980

0 commit comments

Comments
 (0)