Skip to content

[dependency] Bump org.apache.maven.plugins:maven-surefire-plugin (#99) #116

[dependency] Bump org.apache.maven.plugins:maven-surefire-plugin (#99)

[dependency] Bump org.apache.maven.plugins:maven-surefire-plugin (#99) #116

Workflow file for this run

name: sonarcloud.io
on:
push:
branches:
- master
# do not validate pull requests because SONAR_TOKEN is available only for project owner
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- uses: actions/setup-java@v3
with:
java-version: 11
distribution: adopt
- name: Build with Maven
run: mvn --batch-mode package sonar:sonar -Dsonar.projectKey=damianszczepanik_build-history-manager-plugin -Dsonar.organization=damianszczepanik -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}