Refactor build workflow by removing unnecessary steps

Removed the SonarQube analysis step and commit SHA retrieval from the build workflow.
This commit is contained in:
Enno Gelhaus 2025-12-06 23:14:38 +01:00 committed by GitHub
parent 6304354953
commit f7aa06475c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 17 deletions

View File

@ -50,20 +50,3 @@ jobs:
- name: Build
run: pnpm run build
- name: Get Commit SHA (short)
id: get_version
run: |
# Get the short 8-character commit SHA
VERSION=$(git rev-parse --short=8 HEAD)
echo "Commit SHA is $VERSION"
echo "tag=$VERSION" >> $GITHUB_OUTPUT
- name: SonarQube Analysis (Branch)
uses: SonarSource/sonarqube-scan-action@v6
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
with:
args: >
-Dsonar.projectVersion=${{ steps.get_version.outputs.tag }}