Skip to content

Commit 8460bbb

Browse files
committed
ci: 移除调试步骤并优化环境打印
- 删除了调试步骤,移除了 publish.yml 中的 debug 部分 - 优化了环境打印步骤,添加了 source /etc/profile 命令以确保环境变量正确加载
1 parent adefbce commit 8460bbb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.cnb/workflows/publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@ main:
1616
script: echo -n $(date "+%Y-%m-%d %H:%M")
1717
exports:
1818
info: CUSTOM_ENV_DATE_INFO
19-
- name: debug
20-
script: |
21-
sleep 3600
2219
- name: 🖨️ 打印环境
2320
script: |
21+
source /etc/profile
2422
node -v && npm -v && yarn -v && pnpm -v
2523
- name: 📦️ 安装依赖
2624
script: |

0 commit comments

Comments
 (0)