Skip to content

Commit 936fdbf

Browse files
committed
chore: update publish.yml
1 parent d8b71d2 commit 936fdbf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ jobs:
3939

4040
- name: Pack
4141
run: dotnet pack --no-restore -c Release -p:PackageVersion=${{ steps.version.outputs.result }} -o .
42-
43-
- name: Publish NuGet
44-
run: dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_TOKEN }}
4542

4643
- name: Prep Packages
4744
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"
4845

4946
- name: Publish to GitHub Packages
5047
run: dotnet nuget push *.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --source "github"
5148

49+
- name: Publish NuGet
50+
run: dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_TOKEN }} --skip-duplicate
51+
5252
ghpages:
5353
name: ghpages
5454
needs: nuget

0 commit comments

Comments
 (0)