File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88jobs :
99 release :
1010 runs-on : ubuntu-latest
11-
11+ env :
12+ GEMINI_KEY : ${{ secrets.GEMINI_KEY }}
1213 steps :
1314 - name : Checkout code
1415 uses : actions/checkout@v3
@@ -24,12 +25,13 @@ jobs:
2425 - name : Build project
2526 run : dotnet build --configuration Release --no-restore
2627
27- # - name: Run tests
28- # run: dotnet test
28+ # - name: Run tests
29+ # run: dotnet test --filter "FullyQualifiedName~MapperIA.Tests.Mappers.ClassMapper.ClassMapperTests | FullyQualifiedName~MapperIA.Tests.Mappers.PDFMapper.PDFMapperTests"
2930
30- - name : Add GitHub NuGet source
31- run : dotnet nuget add source "https://nuget.pkg.github.com/01Dri/index.json" --name "github" --username "01Dri" --password "${{ secrets.NUGET_GITHUB_TOKEN }}" --store-password-in-clear-text
3231
33- - name : Publish to GitHub Packages (NuGet)
34- run : dotnet nuget push **/bin/Release/*.nupkg --source "github" --api-key "${{ secrets.NUGET_GITHUB_TOKEN }}"
32+ - name : Publish to NuGet
33+ env :
34+ NUGET_API_KEY : ${{ secrets.NUGET_API_KEY }}
35+ run : |
36+ dotnet nuget push **/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json
3537
Original file line number Diff line number Diff line change 88jobs :
99 release :
1010 runs-on : ubuntu-latest
11+ env :
12+ GEMINI_KEY : ${{ secrets.GEMINI_KEY }}
1113 steps :
1214 - name : Checkout code
1315 uses : actions/checkout@v3
You can’t perform that action at this time.
0 commit comments