Use codeql-path output in python-deps workflow

This commit is contained in:
Simon Engledew committed 2020-11-04 17:22:32 +00:00
1 parent 854109fe92
commit c213a7c7c9
1 file changed
+2 -2
+2 -2
View File
@@ -44,6 +44,7 @@ jobs:
- name: Initialize CodeQL
uses: ./init
id: init
with:
tools: latest
languages: python
@@ -62,8 +63,7 @@ jobs:
esac
echo ${basePath}
codeql_version="0.0.0-$(cat "$GITHUB_WORKSPACE/src/defaults.json" | jq -r .bundleVersion | rev | cut -d - -f 1 | rev)"
$GITHUB_WORKSPACE/python-setup/auto_install_packages.py "${basePath}/hostedtoolcache/CodeQL/$codeql_version/x64/codeql"
$GITHUB_WORKSPACE/python-setup/auto_install_packages.py "$(dirname ${{steps.init.outputs.codeql-path}})"
- name: Setup for extractor
run: |
echo $CODEQL_PYTHON