diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 27eddc8..874a4f3 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -19,11 +19,6 @@ jobs: run: dotnet restore - name: Test run: dotnet test --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput='./lcov.info' /p:ExcludeByAttribute="Tomlet.Attributes.NoCoverageAttribute" - - name: Upload test coverage - uses: coverallsapp/github-action@v2.3.4 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - path-to-lcov: ./Tomlet.Tests/lcov.info - name: Build run: dotnet build -c Release - name: Upload NuGet Artifact @@ -34,5 +29,5 @@ jobs: - name: Upload to NuGet if: contains(github.event.head_commit.message, '[publish]') == true && github.event_name == 'push' env: - NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} - run: dotnet nuget push ./Tomlet/bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY \ No newline at end of file + NUGET_API_KEY: ${{ secrets.GH_PAT }} + run: dotnet nuget push ./Tomlet/bin/Release/*.nupkg -s https://nuget.pkg.github.com/RocketWerkz/index.json -k $NUGET_API_KEY \ No newline at end of file