Skip to content

Commit ef4dec4

Browse files
committed
Updates to sonarcloud workflow
1 parent 2687388 commit ef4dec4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
- name: Checkout repository
125125
uses: actions/checkout@v2
126126
with:
127-
fetch-depth: 0
127+
fetch-depth: 0w
128128

129129
- uses: dotnet/nbgv@master
130130
with:
@@ -150,7 +150,6 @@ jobs:
150150
env:
151151
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
152152
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
153-
BRANCH: ${{ $BRANCH }}
154153
run: |
155154
dotnet sonarscanner begin /k:"egil_bUnit" /o:"egil" /n:"bUnit" /v:"$NBGV_NuGetPackageVersion" /d:sonar.login="$SONAR_TOKEN" /d:sonar.host.url=https://sonarcloud.io /d:sonar.branch.name="$BRANCH"
156155
dotnet build /p:UseSourceLink=true

0 commit comments

Comments
 (0)