Skip to content

Commit b74ccad

Browse files
committed
fix(ci): fix build metadata step
- Date was printing seconds since epoc instead of seconds in current minute. - `GITHUB_OUTPUT` file path was being printed instead of content.
1 parent cdc3f41 commit b74ccad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# Calculate
1919
full="${{ github.sha }}"
2020
short="${full:0:6}"
21-
date="$(date --utc +'%Y-%m-%d_%H-%M-%s')"
21+
date="$(date --utc +'%Y-%m-%d_%H-%M-%S')"
2222
2323
# Print to output
2424
echo "full=$full" >> $GITHUB_OUTPUT
@@ -28,7 +28,7 @@ jobs:
2828
2929
# Print to stdout too
3030
echo Metadata:
31-
echo $GITHUB_OUTPUT
31+
cat $GITHUB_OUTPUT
3232
3333
- name: Checkout
3434
uses: actions/checkout@v4

0 commit comments

Comments
 (0)