Skip to content

Commit 221a7e5

Browse files
committed
chore: fix calculation of overall duration during update-release-branch workflow
1 parent 8a80624 commit 221a7e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-release-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
run: |
127127
printf -v now '%(%s)T'
128128
duration=$(( now - ${{ steps.start.outputs.timestamp }} ))
129-
printf 'duration=$duration\n' >> "$GITHUB_OUTPUT"
129+
echo "duration=$duration" >> "$GITHUB_OUTPUT"
130130
- name: Emit metrics
131131
if: always() # run this step even if previous steps failed or the job is canceled
132132
uses: awslabs/aws-kotlin-repo-tools/.github/actions/emit-metrics@main

0 commit comments

Comments
 (0)