@@ -45,10 +45,10 @@ jobs:
45
45
if-no-files-found : warn
46
46
retention-days : 1
47
47
- name : Push to Experimental Feed
48
- if : ${{ github.repository == 'dotnet/Silk.NET ' }}
48
+ if : ${{ secrets.EXP_NUGET_PASSWORD != ' ' }}
49
49
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 }}
50
50
- 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
52
52
run : ./build.sh PushToNuGet --skip Clean Compile Pack --nuget-feed https://nuget.pkg.github.com/dotnet/index.json --nuget-api-key ${{ secrets.GITHUB_TOKEN }}
53
53
Test :
54
54
strategy :
@@ -78,13 +78,14 @@ jobs:
78
78
run : dotnet restore --runtime ${{ matrix.rid }}
79
79
- name : Test
80
80
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
88
89
- name : Upload Coverage Results
89
90
uses : actions/upload-artifact@v4
90
91
with :
0 commit comments