Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 57796e9e34 | |||
| b6ce49032d |
@@ -55,6 +55,11 @@
|
|||||||
"id": 11,
|
"id": 11,
|
||||||
"title": "將 NUGET 更正為 NuGet 的命名建議",
|
"title": "將 NUGET 更正為 NuGet 的命名建議",
|
||||||
"reason": "列入排除問題"
|
"reason": "列入排除問題"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 12,
|
||||||
|
"title": "移除 NuGet restore 步驟的建議(action.yml:9)",
|
||||||
|
"reason": "審查意見:建議移除或改為使用快取以避免每次工作流程下載相依套件;此項目列入排除"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,11 +6,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- name: 取得專案
|
- name: 取得專案
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
- name: 快取 NuGet 套件
|
|
||||||
id: cache-nuget
|
|
||||||
uses: https://gitea.jsc.idv.tw/actions/cache-nuget@v0.0.3
|
|
||||||
- name: 復原專案
|
- name: 復原專案
|
||||||
if: steps.cache-nuget.outputs.cache-hit != 'true'
|
|
||||||
run: |
|
run: |
|
||||||
if [[ -f "nuget.config" ]]; then
|
if [[ -f "nuget.config" ]]; then
|
||||||
dotnet restore --configfile nuget.config
|
dotnet restore --configfile nuget.config
|
||||||
|
|||||||
Reference in New Issue
Block a user