Re-add gh access token

This commit is contained in:
Ilkka Seppälä 2020-06-14 22:36:47 +03:00
parent f4f9c1a441
commit 5192beb5dd

View File

@ -20,9 +20,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 11
# Some tests need screen access
- name: Install xvfb
run: sudo apt-get install xvfb
- name: Build with Maven
run: xvfb-run mvn clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
env:
# These two env variables are needed for sonar analysis
GITHUB_TOKEN: ${{ secrets.REPOSITORY_ACCESS_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}