From 936fdbff21cdc31bace8832d99b2e4fa3bd5b138 Mon Sep 17 00:00:00 2001 From: rvazarkar Date: Wed, 16 Aug 2023 15:19:33 -0400 Subject: [PATCH] chore: update publish.yml --- .github/workflows/publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c587362e..92213363 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -39,9 +39,6 @@ jobs: - name: Pack run: dotnet pack --no-restore -c Release -p:PackageVersion=${{ steps.version.outputs.result }} -o . - - - name: Publish NuGet - run: dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_TOKEN }} - name: Prep Packages run: dotnet nuget add source --username {{github.actor}} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/BloodHoundAD/index.json" @@ -49,6 +46,9 @@ jobs: - name: Publish to GitHub Packages run: dotnet nuget push *.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --source "github" + - name: Publish NuGet + run: dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_TOKEN }} --skip-duplicate + ghpages: name: ghpages needs: nuget