Skip to content

Commit c213a7c

Browse files
author
Simon Engledew
committed
Use codeql-path output in python-deps workflow
1 parent 854109f commit c213a7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/python-deps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444

4545
- name: Initialize CodeQL
4646
uses: ./init
47+
id: init
4748
with:
4849
tools: latest
4950
languages: python
@@ -62,8 +63,7 @@ jobs:
6263
esac
6364
echo ${basePath}
6465
65-
codeql_version="0.0.0-$(cat "$GITHUB_WORKSPACE/src/defaults.json" | jq -r .bundleVersion | rev | cut -d - -f 1 | rev)"
66-
$GITHUB_WORKSPACE/python-setup/auto_install_packages.py "${basePath}/hostedtoolcache/CodeQL/$codeql_version/x64/codeql"
66+
$GITHUB_WORKSPACE/python-setup/auto_install_packages.py "$(dirname ${{steps.init.outputs.codeql-path}})"
6767
- name: Setup for extractor
6868
run: |
6969
echo $CODEQL_PYTHON

0 commit comments

Comments
 (0)