Skip to content

Commit 4b2cdcd

Browse files
committed
Fix --skip-duplicate
1 parent 19d4658 commit 4b2cdcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release-beta.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ jobs:
5757
run: dotnet test demo/Demo.sln -c Release -p:BLLUseLocalNugetPackages=true
5858

5959
- name: Push package to NuGet
60-
run: dotnet nuget push output/nuget/**/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
60+
run: dotnet nuget push --skip-duplicate --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json output/nuget/**/*.nupkg
6161

6262
- name: Add GitHub NuGet Source
6363
run: dotnet nuget add source https://nuget.pkg.github.com/isc30/index.json --name "github" --username isc30 --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text
6464

6565
- name: Push package to GitHub
66-
run: dotnet nuget push output/nuget/**/*.nupkg --source "github" --skip-duplicate
66+
run: dotnet nuget push --skip-duplicate --source "github" output/nuget/**/*.nupkg
6767

6868
- name: Prepare for Github Pages deployment
6969
run: find output/demo -name "*.gitignore" -type f -print0 | xargs -0 /bin/rm -f

0 commit comments

Comments
 (0)