Files
dotnet-qc/action.yml
T
Jeffery ee17b7e72d feat: 加入初始檔案
Co-authored-by: Copilot <copilot@github.com>
2026-05-05 17:18:49 +08:00

23 lines
605 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 }}
shell: bash
- uses: https://gitea.jsc.idv.tw/actions/cache-nuget@${{ inputs.cache_nuget_version }}
shell: bash
- run: dotnet restore
shell: bash
- run: dotnet build --no-restore
shell: bash
- run: dotnet test --no-restore --no-build
shell: bash