2 Commits

Author SHA1 Message Date
jiantw83 57796e9e34 chore: add exclusion for NuGet restore step recommendation
Co-authored-by: Copilot <copilot@github.com>
2026-05-15 10:27:31 +00:00
jiantw83 b6ce49032d 更新 action.yml 2026-05-15 10:23:37 +00:00
2 changed files with 5 additions and 4 deletions
+5
View File
@@ -55,6 +55,11 @@
"id": 11,
"title": "將 NUGET 更正為 NuGet 的命名建議",
"reason": "列入排除問題"
},
{
"id": 12,
"title": "移除 NuGet restore 步驟的建議(action.yml:9",
"reason": "審查意見:建議移除或改為使用快取以避免每次工作流程下載相依套件;此項目列入排除"
}
]
}
-4
View File
@@ -6,11 +6,7 @@ runs:
steps:
- name: 取得專案
uses: actions/checkout@v6
- name: 快取 NuGet 套件
id: cache-nuget
uses: https://gitea.jsc.idv.tw/actions/cache-nuget@v0.0.3
- name: 復原專案
if: steps.cache-nuget.outputs.cache-hit != 'true'
run: |
if [[ -f "nuget.config" ]]; then
dotnet restore --configfile nuget.config