Skip to content

Commit 9bfb980

Browse files
committed
check sonar token
1 parent e76a8e5 commit 9bfb980

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ jobs:
2121
- name: Grant execute permission for gradlew
2222
run: chmod +x gradlew
2323

24+
- name: Check Sonar token
25+
env:
26+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
27+
run: echo "${{ env.SONAR_TOKEN && 'token-present' || 'token-missing' }}"
28+
2429
- name: Build and Test with gradle
2530
env:
2631
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)