Skip to content

Commit 577ce5d

Browse files
[Update] checkout to v5 and setup-java to v5; fix error in use of SONAR_TOKEN
1 parent 7c736c9 commit 577ce5d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/CodeQuality.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
name: Build
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v5
1414
with:
1515
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
1616

1717
- name: Set up JDK 17
18-
uses: actions/setup-java@v4
18+
uses: actions/setup-java@v5
1919
with:
2020
distribution: 'temurin'
2121
java-version: '17'
@@ -44,5 +44,5 @@ jobs:
4444

4545
- name: Sonarqube end
4646
env:
47-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48-
run: dotnet sonarscanner end /d:sonar.login="$GITHUB_TOKEN"
47+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
48+
run: dotnet sonarscanner end /d:sonar.login="$SONAR_TOKEN"

0 commit comments

Comments
 (0)