Files
dotnet-qc/action.yml
T
2026-05-05 17:20:06 +08:00

21 lines
573 B
YAML

name: 'DOTNET QC'
description: '品質檢查 NUGET 套件'
author: 'Jeffery'
inputs:
checkout_version:
description: 'checkout 版本'
required: true
cache_nuget_version:
description: 'cache-nuget 版本'
required: true
runs:
using: 'composite'
steps:
- uses: actions/checkout@${{ inputs.checkout_version }}
- uses: https://gitea.jsc.idv.tw/actions/cache-nuget@${{ inputs.cache_nuget_version }}
- run: dotnet restore
shell: bash
- run: dotnet build --no-restore
shell: bash
- run: dotnet test --no-restore --no-build
shell: bash