chore(deps): update dependency org.sonarsource.scanner.gradle:sonarqube-gradle-plugin to v4.4.1.3373 #347
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: ['master'] | |
pull_request: | |
permissions: | |
checks: write # for SonarQube | |
contents: write # for semantic-release/github | |
issues: write # fir semantic-release/github | |
statuses: read # for SonarQube | |
pull-requests: write # for SonarQube and semantic-release/github | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: gradle/wrapper-validation-action@v1 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'microsoft' | |
java-version: '11' | |
cache: 'gradle' | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- run: | | |
./gradlew build ${SONAR_TOKEN:+sonar} | |
rm build/libs/*.jar | |
npm ci | |
npx semantic-release | |
env: | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
ORG_GRADLE_PROJECT_sonatypeUsername: eller86 | |
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }} | |
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }} | |
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }} | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: reports | |
path: build/reports |