diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4e50c80..5bf78ef 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,6 +17,7 @@ jobs: runs-on: ubuntu-latest env: + NUGET_SOURCE: https://api.nuget.org/v3/index.json NUGET_AUTH_TOKEN: ${{secrets.NUGET_API_KEY}} PROJECT_PATH: Funogram.Telegram @@ -40,4 +41,4 @@ jobs: dotnet pack -c Release -o out - name: Push generated package to GitHub registry - run: dotnet nuget push ./$PROJECT_PATH/out/*.nupkg -k ${NUGET_AUTH_TOKEN} --skip-duplicate --no-symbols true \ No newline at end of file + run: dotnet nuget push ./$PROJECT_PATH/out/*.nupkg -k ${NUGET_AUTH_TOKEN} -s ${NUGET_SOURCE} --skip-duplicate --no-symbols true \ No newline at end of file