name: 'DOTNET QC' description: '品質檢查 NUGET 套件' 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 if: ${{ hashFiles('nuget.config') == '' }} shell: bash - run: dotnet restore --configfile nuget.config if: ${{ hashFiles('nuget.config') != '' }} shell: bash - run: dotnet build --no-restore shell: bash - run: dotnet test --no-restore --no-build shell: bash