File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 default : " us-east-1"
4040 type : string
4141
42- env :
43- AWS_REGION : ${{ inputs.AWS_REGION }}
44-
4542jobs :
4643 coverage :
4744 permissions : write-all
4845 runs-on : ubuntu-latest
4946 env :
50- AWS_REGION : ${{ inputs.AWS_REGION }}
47+ AWS_REGION : ${{ inputs.AWS_REGION || 'us-east-1' }}
5148
5249 steps :
5350 - name : Checkout code
6663
6764 - name : Runs test
6865 run : ${{ inputs.test_command }}
66+ env :
67+ AWS_REGION : ${{ inputs.AWS_REGION || 'us-east-1' }}
6968
7069 # Para evitar erros com permissão de escrita
7170 # https://stackoverflow.com/a/75250838/3929980
@@ -105,7 +104,7 @@ jobs:
105104 id : jacoco
106105 uses : cicirello/jacoco-badge-generator@v2
107106 with :
108- jacoco-csv-file : ${{ inputs.jacoco_csv_file }}
107+ jacoco-csv-file : ${{ inputs.jacoco_csv_file }}
109108 generate-branches-badge : true
110109 generate-coverage-badge : true
111110
@@ -123,4 +122,3 @@ jobs:
123122 committer_email : github-actions[bot]@users.noreply.github.com
124123 message : " [GitHub Actions] Autogenerated JaCoCo coverage badge"
125124 fetch : false
126-
You can’t perform that action at this time.
0 commit comments