Skip to content

Commit

Permalink
assign correct permissions on test-reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
ninetailsrabbit committed Jun 5, 2024
1 parent 2e9ae09 commit 2218d62
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:

jobs:
build:
permissions:
id-token: write
contents: read
checks: write
runs-on: ubuntu-latest
outputs:
Version: ${{ steps.gitversion.outputs.SemVer }}
Expand Down Expand Up @@ -41,7 +45,7 @@ jobs:
run: dotnet test ${{ vars.CSPROJ_TESTS_PATH }} --logger "trx;LogFileName=test-results.trx" || true
- name: Test Report
uses: dorny/[email protected]
if: always()
if: success() || failure()
with:
name: Dotnet Tests result
path: "**/test-results.trx"
Expand Down

0 comments on commit 2218d62

Please sign in to comment.