From c74a60cac64943c04bc6f5b8ee2a5f16519f280e Mon Sep 17 00:00:00 2001 From: Refringe Date: Fri, 7 Mar 2025 19:27:02 -0500 Subject: [PATCH] Update and rename build.yaml to analyze.yaml --- .github/workflows/{build.yaml => analyze.yaml} | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) rename .github/workflows/{build.yaml => analyze.yaml} (89%) diff --git a/.github/workflows/build.yaml b/.github/workflows/analyze.yaml similarity index 89% rename from .github/workflows/build.yaml rename to .github/workflows/analyze.yaml index d8e5de95..1a05a59a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/analyze.yaml @@ -1,16 +1,15 @@ -name: Build +name: Analyze on: push: - branches: ["main"] - pull_request: - branches: ["*"] + branches: + - main jobs: build: - name: Build and Analyze + name: Build and analyze runs-on: windows-latest - + steps: - uses: actions/checkout@v4 with: @@ -42,6 +41,6 @@ jobs: - name: Build and analyze shell: powershell run: | - .\.sonar\scanner\dotnet-sonarscanner begin /k:"sp-tarkov_server-csharp_65d8d534-f5f5-4c24-ba01-a033b1ec3db8" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="${{ secrets.SONAR_HOST_URL }}" + .\.sonar\scanner\dotnet-sonarscanner begin /k:"sp-tarkov_server-csharp_dfe3a8fe-1265-4804-ad36-d0c40dd466e6" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="${{ secrets.SONAR_HOST_URL }}" dotnet build .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"