mirror of
https://github.com/yanhao98/composite-actions.git
synced 2025-07-13 06:40:49 +08:00
feat: 移除 action.yml 中的调试信息以简化节点版本提取逻辑
This commit is contained in:
@ -67,7 +67,6 @@ runs:
|
||||
|
||||
|
||||
# Extract the node version from the .npmrc file
|
||||
set -x;
|
||||
nodeVersion=$(sed -n 's/.*use-node-version=\([0-9.]*\).*/\1/p' .npmrc)
|
||||
if [[ -z "$nodeVersion" ]]; then
|
||||
nodeVersion="lts/*"
|
||||
|
Reference in New Issue
Block a user