Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0dad948ccd | |||
| c1946c9f2c |
+5
-1
@@ -1,5 +1,5 @@
|
|||||||
name: 'DOTNET QC'
|
name: 'DOTNET QC'
|
||||||
description: '品質檢查 NUGET 套件'
|
description: '品質檢查 .NET 套件'
|
||||||
author: 'Jeffery'
|
author: 'Jeffery'
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
@@ -7,6 +7,10 @@ runs:
|
|||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- uses: https://gitea.jsc.idv.tw/actions/cache-nuget@v0.0.2
|
- uses: https://gitea.jsc.idv.tw/actions/cache-nuget@v0.0.2
|
||||||
- run: dotnet restore
|
- run: dotnet restore
|
||||||
|
if: ${{ hashFiles('nuget.config') == '' }}
|
||||||
|
shell: bash
|
||||||
|
- run: dotnet restore --configfile nuget.config
|
||||||
|
if: ${{ hashFiles('nuget.config') != '' }}
|
||||||
shell: bash
|
shell: bash
|
||||||
- run: dotnet build --no-restore
|
- run: dotnet build --no-restore
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user