From a23d4d86fb7e34b453a4a0a03964471ebaf909ff Mon Sep 17 00:00:00 2001 From: Cornelius Riemenschneider Date: Thu, 21 Jul 2022 14:36:38 +0200 Subject: [PATCH] Update pr-checks.yml --- .github/workflows/pr-checks.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 4b92cb692..8b5a1a0d9 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -33,6 +33,11 @@ jobs: - name: Run init run: | ../action/runner/dist/codeql-runner-macos init --repository $GITHUB_REPOSITORY --languages csharp --github-url $GITHUB_SERVER_URL --github-auth ${{ github.token }} + + - name: Build code + shell: bash + run: | + ../action/runner/dist/codeql-runner-macos autobuild - uses: actions/upload-artifact@v3 if: always() with: @@ -40,11 +45,6 @@ jobs: path: | /Users/runner/work/codeql-action/codeql-action/codeql-runner/codeql_databases/ !/Users/runner/work/codeql-action/codeql-action/codeql-runner/codeql_databases//working/copy-root - - - name: Build code - shell: bash - run: | - ../action/runner/dist/codeql-runner-macos autobuild - name: Run analyze run: | ../action/runner/dist/codeql-runner-macos analyze --repository $GITHUB_REPOSITORY --commit $GITHUB_SHA --ref $GITHUB_REF --github-url $GITHUB_SERVER_URL --github-auth ${{ github.token }}