diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cfe789b..e76afa8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Publish NuGet Package +name: Publish NuGet Package Calabonga.UnitOfWork on: push: @@ -18,7 +18,7 @@ jobs: - name: Set up .NET Core uses: actions/setup-dotnet@v2 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Install dependencies run: dotnet restore src/Calabonga.UnitOfWork.sln @@ -30,4 +30,4 @@ jobs: run: dotnet pack src/Calabonga.UnitOfWork.sln --configuration Release --output ${{env.DOTNET_ROOT}}\Package - name: Publish NuGet Package - run: dotnet nuget push ${{env.DOTNET_ROOT}}\Package\*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json + run: dotnet nuget push ${{env.DOTNET_ROOT}}\Package\*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate