File tree Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -248,21 +248,21 @@ jobs:
248248 ./gradlew --parallel publishToMavenLocal
249249 ./gradlew test jvmTest
250250 ./gradlew testAllProtocols
251- - name: Calculate duration
252- id: end
253- run: |
254- printf -v now '%(%s)T'
255- duration=$(( now - ${{ steps.start.outputs.timestamp }} ))
256- echo "duration=$duration" >> "$GITHUB_OUTPUT"
257- - name: Emit metrics
258- if: always() # run this step even if previous steps failed or the job is canceled
259- uses: aws/aws-kotlin-repo-tools/.github/actions/emit-metrics@main
260- with:
261- namespace: CI Metrics
262- dimensions: |
263- Product=smithy-kotlin
264- JobName=${{ github.job }}
265- Branch=${{ github.base_ref || github.ref_name }}
266- metrics: |
267- WorkflowSucceeded:${{ job.status == 'success' && '1' || '0' }}:Count
268- WorkflowDuration:${{ steps.end.outputs.duration }}:Seconds
251+ - name : Calculate duration
252+ id : end
253+ run : |
254+ printf -v now '%(%s)T'
255+ duration=$(( now - ${{ steps.start.outputs.timestamp }} ))
256+ echo "duration=$duration" >> "$GITHUB_OUTPUT"
257+ - name : Emit metrics
258+ if : always() # run this step even if previous steps failed or the job is canceled
259+ uses : aws/aws-kotlin-repo-tools/.github/actions/emit-metrics@main
260+ with :
261+ namespace : CI Metrics
262+ dimensions : |
263+ Product=smithy-kotlin
264+ JobName=${{ github.job }}
265+ Branch=${{ github.base_ref || github.ref_name }}
266+ metrics : |
267+ WorkflowSucceeded:${{ job.status == 'success' && '1' || '0' }}:Count
268+ WorkflowDuration:${{ steps.end.outputs.duration }}:Seconds
You can’t perform that action at this time.
0 commit comments