Skip to content

Commit 73281ac

Browse files
committed
other additions mods
1 parent cb9b856 commit 73281ac

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ jobs:
4343
dotnet tool update dotnet-sonarscanner --tool-path .\.sonar\scanner
4444
- name: Build and analyze
4545
env:
46-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Optional: Needed to get PR information, if any
46+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Optional Needed to get PR information if any
4747
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4848
shell: powershell
4949
run: |
5050
dotnet tool install --global dotnet-coverage
51-
.\.sonar\scanner\dotnet-sonarscanner begin /k:"chrdek_QueryablDataCalc" /o:"chrdek" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
51+
.\.sonar\scanner\dotnet-sonarscanner begin /k:"chrdek_QueryablDataCalc" /o:"chrdek" /d:sonar.token=$SONAR_TOKEN /d:sonar.host.url="https://sonarcloud.io"
5252
dotnet build .\Queryabl.csproj /t:Rebuild /p:Configuration=Debug
53-
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
53+
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token=$SONAR_TOKEN

0 commit comments

Comments
 (0)