diff --git a/.github/workflows/build_n_deploy.yml b/.github/workflows/build_n_deploy.yml index 586c847..1a670ea 100644 --- a/.github/workflows/build_n_deploy.yml +++ b/.github/workflows/build_n_deploy.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f17a5a5..35aee3f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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