@@ -45,10 +45,10 @@ jobs:
4545 if-no-files-found : warn
4646 retention-days : 1
4747 - name : Push to Experimental Feed
48- if : ${{ github.repository == 'dotnet/Silk.NET ' }}
48+ if : ${{ secrets.EXP_NUGET_PASSWORD != ' ' }}
4949 run : ./build.sh PushToNuGet --skip Clean Compile Pack --nuget-feed https://dotnet.github.io/Silk.NET/nuget/experimental/index.json --nuget-username ${{ secrets.EXP_NUGET_USERNAME }} --nuget-password ${{ secrets.EXP_NUGET_PASSWORD }} --nuget-api-key ${{ secrets.EXP_NUGET_PASSWORD }}
5050 - name : Push to GitHub Packages
51- if : ${{ github.repository == 'dotnet/Silk.NET ' }}
51+ if : ${{ secrets.EXP_NUGET_PASSWORD != ' ' }} # ik it's irrelevant but it tells if we likely have perms
5252 run : ./build.sh PushToNuGet --skip Clean Compile Pack --nuget-feed https://nuget.pkg.github.com/dotnet/index.json --nuget-api-key ${{ secrets.GITHUB_TOKEN }}
5353 Test :
5454 strategy :
@@ -78,13 +78,14 @@ jobs:
7878 run : dotnet restore --runtime ${{ matrix.rid }}
7979 - name : Test
8080 run : dotnet test -c Release --no-restore --runtime ${{ matrix.rid }} --collect:"XPlat Code Coverage" --results-directory ./coverage --logger:"trx"
81- - name : Test Report
82- uses : dorny/test-reporter@v1
83- if : success() || failure()
84- with :
85- name : .NET Test Report (${{ matrix.rid }})
86- path : ./coverage/**/*.trx
87- reporter : dotnet-trx
81+ # TODO: https://github.com/dorny/test-reporter?tab=readme-ov-file#recommended-setup-for-public-repositories
82+ # - name: Test Report
83+ # uses: dorny/test-reporter@v1
84+ # if: success() || failure()
85+ # with:
86+ # name: .NET Test Report (${{ matrix.rid }})
87+ # path: ./coverage/**/*.trx
88+ # reporter: dotnet-trx
8889 - name : Upload Coverage Results
8990 uses : actions/upload-artifact@v4
9091 with :
0 commit comments