We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fa7de4 commit 2537497Copy full SHA for 2537497
1 file changed
.github/workflows/dotnetCi.yml
@@ -23,6 +23,7 @@ jobs:
23
BranchName: ${{ github.event_name == 'pull_request' && github.base_ref || github.ref_name }}
24
BranchParam: ${{ github.event_name == 'pull_request' && 'sonar.pullrequest.branch' || 'sonar.branch.name' }}
25
PullRequestParam: ${{ github.event_name == 'pull_request' && format('/d:sonar.pullrequest.key={0}', github.event.number) || '' }}
26
+ PATH: ${{ env.PATH }}
27
28
steps:
29
- name: Checkout
@@ -45,7 +46,7 @@ jobs:
45
46
# Environment setup pre-build
47
48
- name: Add .NET global tools location to PATH
- run: export PATH="$PATH:/home/runner/.dotnet/tools"
49
+ run: echo "$HOME/.dotnet/tools" >> "$GITHUB_PATH"
50
- name: Install SonarScanner
51
run: dotnet tool install --global dotnet-sonarscanner
52
- name: Install Coverlet console
0 commit comments