Skip to content

Commit 0a07152

Browse files
eryajferyajf
authored andcommitted
ci: 在日期信息中添加秒级时间戳
1 parent 8fb3604 commit 0a07152

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.cnb/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ main:
1313
- /root/.npm:copy-on-write
1414
stages:
1515
- name: set env
16-
script: echo -n $(date "+%Y-%m-%d %H:%M")
16+
script: echo -n $(date "+%Y-%m-%d %H:%M:%s")
1717
exports:
1818
info: CUSTOM_ENV_DATE_INFO
1919
- name: 🖨️ 打印环境

0 commit comments

Comments
 (0)