chore: modify test action
[skip ci]
This commit is contained in:
parent
722d56248f
commit
6dda34d87f
1 changed files with 2 additions and 2 deletions
4
.github/workflows/tf-acc-test.yaml
vendored
4
.github/workflows/tf-acc-test.yaml
vendored
|
|
@ -97,9 +97,9 @@ jobs:
|
||||||
echo "time=$(date --rfc-3339=ns)" >> ${GITHUB_ENV}
|
echo "time=$(date --rfc-3339=ns)" >> ${GITHUB_ENV}
|
||||||
end=$(date +%s%N)
|
end=$(date +%s%N)
|
||||||
echo "end=${end}" >> ${GITHUB_ENV}
|
echo "end=${end}" >> ${GITHUB_ENV}
|
||||||
start=${{ steps.start_time.outputs.start }}
|
start="${{ steps.start_time.outputs.start }}"
|
||||||
diff=$((end-start))
|
diff=$((end-start))
|
||||||
duration=sprintf "%s.%s" "${diff:0: -9}" "${diff: -9:3}"
|
duration=$(printf "%s.%s" "${diff:0: -9}" "${diff: -9:3}")
|
||||||
echo "duration=${duration}" >> ${GITHUB_ENV}
|
echo "duration=${duration}" >> ${GITHUB_ENV}
|
||||||
|
|
||||||
- name: Notify
|
- name: Notify
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue