Skip to content

Commit

Permalink
Use setup-python-dependencies input
Browse files Browse the repository at this point in the history
  • Loading branch information
David Verdeguer committed Oct 27, 2020
1 parent fb7d0f7 commit 4575212
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/init-action.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/init-action.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion src/init-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,10 @@ async function run() {
logger
);

if (config.languages.includes(Language.python)) {
if (
config.languages.includes(Language.python) &&
actionsUtil.getRequiredInput("setup-python-dependencies") === "true"
) {
try {
await installPythonDeps(codeql, logger);
} catch (err) {
Expand Down

0 comments on commit 4575212

Please sign in to comment.