From 3a28e3736d4718c1ebb5f3458c15739067f73cf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20M=C3=BCehlencord?= Date: Wed, 1 Apr 2026 13:52:55 +0200 Subject: [PATCH] added debug output --- .gitea/workflows/ci.yaml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 5516b7b..b24292a 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -55,6 +55,14 @@ jobs: runs-on: ubuntu-latest steps: + - name: debug SONAR_TOKEN + run: | + if [ -z "${{ secrets.SONAR_TOKEN }}" ]; then + echo "SONAR_TOKEN is empty" + else + echo "SONAR_TOKEN is set" + fi + - name: Prepare SSH run: | install -m 600 -D /dev/null ~/.ssh/id_rsa @@ -79,15 +87,6 @@ jobs: with: maven-version: ${{ inputs.maven_version }} - - id: debug-sonar - name: debug SONAR_TOKEN - run: | - if [ -z "${{ secrets.SONAR_TOKEN }}" ]; then - echo "SONAR_TOKEN is empty" - else - echo "SONAR_TOKEN is set" - fi - - name: Build with Maven working-directory: source run: mvn -B clean verify sonar:sonar org.cyclonedx:cyclonedx-maven-plugin:makeAggregateBom -Dsonar.host.url="${{ inputs.sonar_host }}" -Dsonar.token="${{ secrets.SONAR_TOKEN }}"