diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e639e46..b89fcab 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,9 +24,9 @@ jobs: run: dotnet pack --no-build --output pack/ - name: Publish .NET Solution to GitHub Packages continue-on-error: true - run: dotnet nuget push pack/* --api-key ${{ secrets.GITHUB_TOKEN }} --source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" + run: dotnet nuget push pack/* --skip-duplicate --api-key ${{ secrets.GITHUB_TOKEN }} --source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" - name: Publish .NET Solution to NuGet.org continue-on-error: true - run: dotnet nuget push pack/* --api-key ${{ secrets.NUGET_ORG_KEY }} --source nuget + run: dotnet nuget push pack/* --skip-duplicate --api-key ${{ secrets.NUGET_ORG_KEY }} --source nuget diff --git a/GitVersion.yml b/GitVersion.yml index 20bb439..11d7b91 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -1,5 +1,3 @@ -mode: Mainline branches: master: - increment: None tag: rc