feat: 使用固定版本

This commit is contained in:
Jeffery
2026-05-05 17:24:45 +08:00
parent 603068e0ce
commit 440008caed
+2 -9
View File
@@ -1,18 +1,11 @@
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 }}
- uses: actions/checkout@v6
- uses: https://gitea.jsc.idv.tw/actions/cache-nuget@v0.0.2
- run: dotnet restore
shell: bash
- run: dotnet build --no-restore