File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ jobs:
2323 - name : Build project
2424 run : dotnet build --configuration Release --no-restore
2525
26- # - name: Run tests
27- # run: dotnet test --filter "FullyQualifiedName~MapperIA.Tests.Mappers.ClassMapper.ClassMapperTests | FullyQualifiedName~MapperIA.Tests.Mappers.PDFMapper.PDFMapperTests"
26+ # - name: Run tests
27+ # run: dotnet test --filter "FullyQualifiedName~MapperIA.Tests.Mappers.ClassMapper.ClassMapperTests | FullyQualifiedName~MapperIA.Tests.Mappers.PDFMapper.PDFMapperTests"
2828
29-
30- - name : Publish to NuGet
29+ - name : Publish to GitHub NuGet
30+ run : dotnet nuget push **/bin/Release/*.nupkg --source "github" --api-key ${{ secrets.GITHUB_TOKEN }}
3131 env :
32- NUGET_API_KEY : ${{ secrets.GITHUB_TOKEN }}
33- run : |
34- dotnet nuget push **/bin/Release/*.nupkg --api-key $GITHUB_TOKEN --source https://nuget.pkg.github.com/01Dri/index.json"
32+ NUGET_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3533
34+ - name : Add GitHub NuGet source
35+ run : dotnet nuget add source https://nuget.pkg.github.com/01Dri/index.json --name github --username 01Dri --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text
You can’t perform that action at this time.
0 commit comments