From d7fdcb5521818d47c501d2abebe1c895af975d69 Mon Sep 17 00:00:00 2001 From: MaksimDzyuba <77277424+MaksimDzyuba@users.noreply.github.com> Date: Thu, 5 Feb 2026 12:05:21 +0300 Subject: [PATCH] Update build.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Убрал сборку сонаром, пока не решится проблема с токеном --- .github/workflows/build.yml | 42 ++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9c142f7d..1e39da71 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,29 +56,29 @@ jobs: export DISPLAY=:5 mvn clean verify -PSDK,find-bugs -Dtycho.localArtifacts=ignore -Dtycho.p2.httptransport.type=JavaUrl -B -V - - name: Cache SonarCloud packages - uses: actions/cache@v4 - if: inputs.analyze - with: - path: ~/.sonar/cache - key: ${{ runner.os }}-sonar - restore-keys: ${{ runner.os }}-sonar + # - name: Cache SonarCloud packages + # uses: actions/cache@v4 + # if: inputs.analyze + # with: + # path: ~/.sonar/cache + # key: ${{ runner.os }}-sonar + # restore-keys: ${{ runner.os }}-sonar -# - name: Set up JDK 17 -# if: inputs.analyze -# uses: actions/setup-java@v1 -# with: -# java-version: 17 -# java-package: jdk+fx + # - name: Set up JDK 17 + # if: inputs.analyze + # uses: actions/setup-java@v1 + # with: + # java-version: 17 + # java-package: jdk+fx - - name: Sonar scan - # Do not start Sonar-scanning for forks without label, and pass fork PR number directly - if: inputs.analyze - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any - SONAR_TOKEN: ${{ secrets.sonar_token }} - working-directory: ./ - run: mvn compile org.sonarsource.scanner.maven:sonar-maven-plugin:sonar ${{ env.PR_NUMBER }} -Dtycho.localArtifacts=ignore -B -V + # - name: Sonar scan + # # Do not start Sonar-scanning for forks without label, and pass fork PR number directly + # if: inputs.analyze + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any + # SONAR_TOKEN: ${{ secrets.sonar_token }} + # working-directory: ./ + # run: mvn compile org.sonarsource.scanner.maven:sonar-maven-plugin:sonar ${{ env.PR_NUMBER }} -Dtycho.localArtifacts=ignore -B -V - name: Publish Test Report uses: scacap/action-surefire-report@v1