Skip to content

Commit

Permalink
chore:update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Toto-hitori committed Mar 5, 2024
1 parent fc9e73d commit 1111e3b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ jobs:
with:
distribution: 'temurin'
java-version: '17'
- run: mvn clean verify
- run: mvn verify sonar:sonar -Dsonar.projectKey=wiq_en2b -Dsonar.organization=arquisoft -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN
working-directory: api
env:
DATABASE_USER: ${{ secrets.DATABASE_USER }}
DATABASE_PASSWORD: ${{ secrets.DATABASE_PASSWORD }}
JWT_SECRET: ${{ secrets.JWT_SECRET }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Analyze with SonarCloud
uses: sonarsource/sonarcloud-github-action@master
env:
Expand Down

0 comments on commit 1111e3b

Please sign in to comment.