From ffc56dbec6c1164ae6874968b4536db93efa50b5 Mon Sep 17 00:00:00 2001 From: kkostenkov Date: Sun, 5 May 2024 22:50:29 +0200 Subject: [PATCH] Move built project to isolated directory --- .github/workflows/check-code-style.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-code-style.yml b/.github/workflows/check-code-style.yml index a5fe41f..905c6ad 100644 --- a/.github/workflows/check-code-style.yml +++ b/.github/workflows/check-code-style.yml @@ -48,11 +48,13 @@ jobs: # Inspect code instalation could not add itself to path. Doing it before manually. - run: echo "$HOME/.dotnet/tools" >> $GITHUB_PATH + # dotnet tool update --global JetBrains.ReSharper.GlobalTools fails to run if pwd contains several projetcs + - run: mkdir UnityProjectIsolated; mv -v ${{ env.PROJECT_PATH }}/* UnityProjectIsolated/ - name: Inspect code uses: muno92/resharper_inspectcode@v1 with: - solutionPath: ${{ env.PROJECT_PATH }}${{ env.PROJECT_NAME }}.sln + solutionPath: UnityProjectIsolated/${{ env.PROJECT_NAME }}.sln solutionWideAnalysis: false minimumReportSeverity: warning minimumSeverity: warning