Runner tests: Read CODEQL_RUNNER from the stored JSON

This test workflow does not source the environment from the init step,
so we need to manually read in the variable.
This commit is contained in:
Aditya Sharad 2022-07-25 15:33:52 -07:00
parent b4ff463500
commit a2f4d66a8b
No known key found for this signature in database
GPG key ID: 66D1E528054C320C

View file

@ -414,6 +414,7 @@ jobs:
- name: Build code
shell: bash
run: |
CODEQL_RUNNER="$(cat codeql-runner/codeql-env.json | jq -r '.CODEQL_RUNNER')"
$CODEQL_RUNNER ../action/runner/dist/codeql-runner-macos autobuild
- name: Run analyze