Skip to content

Commit 39c5975

Browse files
committed
use mac compatible format
1 parent f61d2b7 commit 39c5975

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
- name: Set start timestamp
9494
id: start
9595
shell: bash
96-
run: printf 'timestamp=%(%s)T\n' >> "$GITHUB_OUTPUT"
96+
run: echo "timestamp=$(date +%s)" >> "$GITHUB_OUTPUT"
9797
- name: Checkout sources
9898
uses: actions/checkout@v4
9999
with:
@@ -144,7 +144,7 @@ jobs:
144144
id: end
145145
shell: bash
146146
run: |
147-
printf -v now '%(%s)T'
147+
now=$(date +%s)
148148
duration=$(( now - ${{ steps.start.outputs.timestamp }} ))
149149
echo "duration=$duration" >> "$GITHUB_OUTPUT"
150150
- name: Emit metrics

0 commit comments

Comments
 (0)