diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 5b8702ddb..6e226d139 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -25,10 +25,7 @@ jobs: name: Runner macos autobuild C# analyze needs: [check-js, check-node-modules] strategy: - matrix: - os: ['macos-10.15', 'macos-11'] - fail-fast: false - runs-on: ${{ matrix.os }} + runs-on: macos-latest env: ACTIONS_RUNNER_DEBUG: 1 @@ -56,11 +53,18 @@ jobs: run: | ../action/runner/dist/codeql-runner-macos init --repository $GITHUB_REPOSITORY --languages csharp --github-url $GITHUB_SERVER_URL --github-auth ${{ github.token }} + - name: Check env + run: env + - name: Build code shell: bash run: | ../action/runner/dist/codeql-runner-macos autobuild + - name: Check env + if: always() + run: env + - 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 }}