From bacf179dddefe39eaa55041028eb0ffbe4b25e43 Mon Sep 17 00:00:00 2001 From: ToZso <138497701+zsolttothfizz@users.noreply.github.com> Date: Tue, 12 Nov 2024 10:12:25 +0100 Subject: [PATCH] Added Azure DevOps nuget feed --- .github/workflows/main-release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main-release.yml b/.github/workflows/main-release.yml index 0e20436e..235ad4e0 100644 --- a/.github/workflows/main-release.yml +++ b/.github/workflows/main-release.yml @@ -21,6 +21,9 @@ jobs: with: dotnet-version: 9 dotnet-quality: 'preview' + source-url: https://pkgs.dev.azure.com/fizzcode/ArtifactFeed/_packaging/FizzSuiteFeed/nuget/v3/index.json + env: + NUGET_AUTH_TOKEN: ${{ secrets.AZURE_DEVOPS_APIKEY }} - name: Restore run: dotnet restore /p:Configuration=${{ env.Configuration }} --verbosity normal @@ -40,6 +43,9 @@ jobs: - name: Push to nuget.org run: dotnet nuget push .packages\*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_ORG_APIKEY }} + - name: Push to AzureDevops + run: dotnet nuget push .packages\*.nupkg --source https://pkgs.dev.azure.com/fizzcode/ArtifactFeed/_packaging/FizzSuiteFeed/nuget/v3/index.json --api-key AzureArtifacts + - name: Create tag uses: actions/github-script@v7 with: