Skip to content

Commit

Permalink
Added the setting of SONAR_TOKEN.
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniotarricone committed May 28, 2024
1 parent 77f6dca commit c4dafe9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build_n_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,6 @@ jobs:
# Build and deploy.
#
- name: Build and deploy
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ${{ runner.temp }}/maven/bin/mvn --batch-mode verify deploy -Pvalidate -s ${{ runner.temp }}/settings.xml --no-transfer-progress
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,6 @@ jobs:
#
- name: Build and deploy
if: steps.semantic.outputs.new_release_published == 'true'
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ${{ runner.temp }}/maven/bin/mvn --batch-mode verify deploy -Pvalidate -s ${{ runner.temp }}/settings.xml --no-transfer-progress

0 comments on commit c4dafe9

Please sign in to comment.