3 Commits

Author SHA1 Message Date
Jeffery 0c868593de Merge branch 'develop' of https://gitea.jsc.idv.tw/actions/dotnet-qc into develop 2026-05-06 09:33:36 +08:00
Jeffery e8b08ee12e feat: 為每個步驟加上名稱
Co-authored-by: Copilot <copilot@github.com>
2026-05-06 09:33:33 +08:00
jiantw83 0dad948ccd 更新 action.yml
修改描述
2026-05-06 01:27:05 +00:00
+13 -7
View File
@@ -1,18 +1,24 @@
name: 'DOTNET QC'
description: '品質檢查 NUGET 套件'
description: '品質檢查 .NET 套件'
author: 'Jeffery'
runs:
using: 'composite'
steps:
- uses: actions/checkout@v6
- uses: https://gitea.jsc.idv.tw/actions/cache-nuget@v0.0.2
- run: dotnet restore
- name: 取得專案
uses: actions/checkout@v6
- name: 快取 NUGET 套件
uses: https://gitea.jsc.idv.tw/actions/cache-nuget@v0.0.2
- name: 復原專案
run: dotnet restore
if: ${{ hashFiles('nuget.config') == '' }}
shell: bash
- run: dotnet restore --configfile nuget.config
- name: 復原專案
run: dotnet restore --configfile nuget.config
if: ${{ hashFiles('nuget.config') != '' }}
shell: bash
- run: dotnet build --no-restore
- name: 建置專案
run: dotnet build --no-restore
shell: bash
- run: dotnet test --no-restore --no-build
- name: 測試專案
run: dotnet test --no-restore --no-build
shell: bash