diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d1cf353..973c662 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,6 +12,8 @@ jobs: env: VERSION: ${{ github.ref_name }} BUILD_CONFIGURATION: Release + DOTNET_NOLOGO: true + DOTNET_CLI_TELEMETRY_OPTOUT: true steps: - uses: actions/checkout@master name: Checkout @@ -25,6 +27,8 @@ jobs: key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} restore-keys: | ${{ runner.os }}-nuget- + - name: Add Gh Packages Nuget Source + run: dotnet nuget add source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github - name: Restore dependencies run: dotnet restore Torch.Server/Torch.Server.csproj --use-lock-file - name: Build