diff --git a/.github/workflows/pr-build-check.yml b/.github/workflows/pr-build-check.yml index c71a0ee..68a995f 100644 --- a/.github/workflows/pr-build-check.yml +++ b/.github/workflows/pr-build-check.yml @@ -16,7 +16,13 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v3 with: - dotnet-version: '8.x' + dotnet-version: '10.x' + + - name: Add GitHub Package Source + env: + GHPKG_KEY: ${{ secrets.GHPKG_KEY }} + run: | + dotnet nuget add source --username denglihong2007 --password $env:GHPKG_KEY --store-password-in-clear-text --name github "https://nuget.pkg.github.com/denglihong2007/index.json" - name: Restore dependencies run: dotnet restore CRSim.sln