更新 action.yml
This commit is contained in:
@@ -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