mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
chore(workflow): 移除 dotnet nuget push 中不支持的参数
- 删除了 `--verbosity detailed` 参数,因为 dotnet nuget push 不支持该选项 - 添加注释提醒不要使用 --verbosity 参数 - 保留了 --skip-duplicate 参数以避免重复推送包
This commit is contained in:
parent
2d4ed82782
commit
da67b5651a
3
.github/workflows/publish.yml
vendored
3
.github/workflows/publish.yml
vendored
@ -81,8 +81,9 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
echo "Pushing $PKG to nuget.org..."
|
||||
# 注意:不要使用 --verbosity(dotnet nuget push 不支持)
|
||||
dotnet nuget push "$PKG" \
|
||||
--api-key "${{ steps.login.outputs.NUGET_API_KEY }}" \
|
||||
--source https://api.nuget.org/v3/index.json \
|
||||
--skip-duplicate --verbosity detailed
|
||||
--skip-duplicate
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user