Github actions: Unable to find Telerik packages

2 Answers 9 Views
General Discussions
Sergey
Top achievements
Rank 1
Iron
Sergey asked on 17 May 2024, 11:58 AM

Hello,

I am trying to set up Github actions to build my application and I followed the article at https://www.telerik.com/blogs/announcing-nuget-keys to configure the access to the telerik feed.

The action definition looks like this:


# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: .NET

on:
  workflow_dispatch:
  push:
    branches: [ "master" ]
  pull_request:
    branches: [ "master" ]

jobs:
  build:

    runs-on: windows-latest

    steps:
    - uses: actions/checkout@v4
    - name: Setup .NET
      uses: actions/setup-dotnet@v4
      with:
        dotnet-version: 8.0.x
    - name: Restore NuGet Packages
      run: dotnet restore ./MySolution.sln --configfile ./nuget.config -v detailed 
      env:
        MY_API_KEY: ${{ secrets.TELERIK_NUGET_KEY }}
    - name: Build
      run: dotnet build ./MySolution.sln --no-restore
    - name: Test
      run: dotnet test MyTests/MyTests.csproj --no-build --verbosity normal

But there are the error on restoring the packages:

error NU1101: Unable to find package Telerik.Documents.Core. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, MyTelerikFeed, nuget.org
error NU1101: Unable to find package Telerik.Documents.Fixed. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, MyTelerikFeed, nuget.org
error NU1101: Unable to find package Telerik.Documents.Flow. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, MyTelerikFeed, nuget.org
error NU1101: Unable to find package Telerik.Documents.Flow.FormatProviders.Pdf. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, MyTelerikFeed, nuget.org
error NU1101: Unable to find package Telerik.Zip. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, MyTelerikFeed, nuget.org
error NU1101: Unable to find package UI.for.WinForms.AllControls.Net60. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, MyTelerikFeed, nuget.org

 

Any ideas on how to fix it?

2 Answers, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 21 May 2024, 08:15 AM

Hello Sergey,

A main requirement to access the described resources in the article is to be a licensed user. Please correct me if I am wrong but from what I can see the account this forum is submitted under does not seem to have any active license or support which might be the cause for the behavior you are experiencing.

However, if that is not the case please feel free to provide us with more context if possible. I can also suggest you retrace the steps listed in the article and double-check the provided credentials.

Regards,
Yoan
Progress Telerik

A brand new ThemeBuilder course was just added to the Virtual Classroom. The training course was designed to help you get started with ThemeBuilder for styling Telerik and Kendo UI components for your applications. You can check it out at https://learn.telerik.com
0
Sergey
Top achievements
Rank 1
Iron
answered on 21 May 2024, 12:37 PM

Hello,

My colleagues who own the license provided me with the key so that I can run build and run unit tests for the app on Github.

Yoan
Telerik team
commented on 23 May 2024, 02:54 PM

Hi Sergey, 

Thank you for the clarification. What I can offer you for starters is to retrace your steps listed in the Announcing NuGet Keys blog and also check out the instructions in the Installing on Your Computer,  Available NuGet Packages, and Install using NuGet Packages articles.

Let me know how it goes.

Regards,

Yoan

Tags
General Discussions
Asked by
Sergey
Top achievements
Rank 1
Iron
Answers by
Yoan
Telerik team
Sergey
Top achievements
Rank 1
Iron
Share this question
or