We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4f9c1a commit 5192bebCopy full SHA for 5192beb
1 file changed
.github/workflows/maven.yml
@@ -20,9 +20,12 @@ jobs:
20
uses: actions/setup-java@v1
21
with:
22
java-version: 11
23
+ # Some tests need screen access
24
- name: Install xvfb
25
run: sudo apt-get install xvfb
26
- name: Build with Maven
27
run: xvfb-run mvn clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
28
env:
29
+ # These two env variables are needed for sonar analysis
30
+ GITHUB_TOKEN: ${{ secrets.REPOSITORY_ACCESS_TOKEN }}
31
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
0 commit comments