]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-21021 GitHub Action Template for .NET: remove useless empty env line
authorDavid Cho-Lerat <david.cho-lerat@sonarsource.com>
Thu, 30 Nov 2023 15:15:10 +0000 (16:15 +0100)
committersonartech <sonartech@sonarsource.com>
Fri, 1 Dec 2023 20:02:43 +0000 (20:02 +0000)
server/sonar-web/src/main/js/components/tutorials/github-action/__tests__/__snapshots__/GithubActionTutorial-it.tsx.snap
server/sonar-web/src/main/js/components/tutorials/github-action/commands/DotNet.tsx

index 4c49554ebe54e5bc6261067c06d4c902100c04d3..fc3241f600e0d0a9d67e648d1b1583318fa8ea4e 100644 (file)
@@ -43,7 +43,6 @@ jobs:
           New-Item -Path .\\.sonar\\scanner -ItemType Directory
           dotnet tool update dotnet-sonarscanner --tool-path .\\.sonar\\scanner
       - name: Build and analyze
-        env:
         shell: powershell
         run: |
           .\\.sonar\\scanner\\dotnet-sonarscanner begin /k:"my-project" /d:sonar.token="\${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="\${{ secrets.SONAR_HOST_URL }}"
index c0820ba75a2cbccb03dfe9c6602dd3399831deda..9b4e8fbc396f155564ca08eebb4aa1275498d915 100644 (file)
@@ -55,7 +55,6 @@ function dotnetYamlSteps(projectKey: string) {
           New-Item -Path .\\.sonar\\scanner -ItemType Directory
           dotnet tool update dotnet-sonarscanner --tool-path .\\.sonar\\scanner
       - name: Build and analyze
-        env:
         shell: powershell
         run: |
           .\\.sonar\\scanner\\dotnet-sonarscanner begin /k:"${projectKey}" /d:sonar.token="\${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="\${{ secrets.SONAR_HOST_URL }}"