Update github action file

This commit is contained in:
شركة خبير المحدودة 2025-08-18 13:42:06 +03:00
parent 81a0a0bef3
commit 0aba798bac
1 changed files with 2 additions and 1 deletions

View File

@ -41,6 +41,7 @@ jobs:
export PROJECT_NAME="Standard Modules ${SAFE_BRANCH_NAME^}" export PROJECT_NAME="Standard Modules ${SAFE_BRANCH_NAME^}"
export SOURCE_FOLDER_NAME="${BRANCH_NAME#master_}" export SOURCE_FOLDER_NAME="${BRANCH_NAME#master_}"
export PROJECT_VERSION="1.0" export PROJECT_VERSION="1.0"
export SONAR_HOST_URL=${{ secrets.SONAR_HOST_URL }}
export SONAR_TOKEN=${{ secrets.SONAR_TOKEN }} export SONAR_TOKEN=${{ secrets.SONAR_TOKEN }}
sonar-scanner \ sonar-scanner \
@ -51,7 +52,7 @@ jobs:
-Dsonar.inclusions="**/*.py, **/*.xml, **/*.js" \ -Dsonar.inclusions="**/*.py, **/*.xml, **/*.js" \
-Dsonar.exclusions="**/__manifest__.py, **/migrations/**, **/__pycache__/**" \ -Dsonar.exclusions="**/__manifest__.py, **/migrations/**, **/__pycache__/**" \
-Dsonar.sourceEncoding="UTF-8" \ -Dsonar.sourceEncoding="UTF-8" \
-Dsonar.host.url="https://sonar.odex.sa" \ -Dsonar.host.url="$SONAR_HOST_URL" \
-Dsonar.login="$SONAR_TOKEN" -Dsonar.login="$SONAR_TOKEN"
- name: Cleanup workspace - name: Cleanup workspace