Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c1946c9f2c | |||
| 440008caed |
+6
-9
@@ -1,19 +1,16 @@
|
|||||||
name: 'DOTNET QC'
|
name: 'DOTNET QC'
|
||||||
description: '品質檢查 NUGET 套件'
|
description: '品質檢查 NUGET 套件'
|
||||||
author: 'Jeffery'
|
author: 'Jeffery'
|
||||||
inputs:
|
|
||||||
checkout_version:
|
|
||||||
description: 'checkout 版本'
|
|
||||||
required: true
|
|
||||||
cache_nuget_version:
|
|
||||||
description: 'cache-nuget 版本'
|
|
||||||
required: true
|
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@${{ inputs.checkout_version }}
|
- uses: actions/checkout@v6
|
||||||
- uses: https://gitea.jsc.idv.tw/actions/cache-nuget@${{ inputs.cache_nuget_version }}
|
- 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