Skip to content

Commit 6ad7bf5

Browse files
authored
Update sonar-cloud-scan.yml -- Java SDK action. Upgrade actions/setup-java from v3.4.0 to v4.2.1 (actions/[email protected])
1 parent e20f71f commit 6ad7bf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sonar-cloud-scan.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
steps:
4545
#Set up Java which is needed for SonarScan post processing step
4646
- name: Setup Java JDK
47-
uses: actions/setup-java@v3.4.0
47+
uses: actions/setup-java@v4.2.1
4848
with:
4949
distribution: 'microsoft' # See 'Supported distributions' for available options
5050
java-version: '11'
@@ -85,4 +85,4 @@ jobs:
8585
- name: Build (${{env.SOLUTION_FILE}})
8686
run: dotnet build ${{env.SOLUTION_DIRECTORY}}/${{env.SOLUTION_FILE}} --configuration ${{ env.BUILD_CONFIGURATION }} --no-restore
8787
- name: SonarScan - End (${{env.SONAR_PROJECT_KEY}})
88-
run: ${{env.SONAR_TOOL_PATH}}\dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_ACCESS_TOKEN }}"
88+
run: ${{env.SONAR_TOOL_PATH}}\dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_ACCESS_TOKEN }}"

0 commit comments

Comments
 (0)