mirror of
https://github.com/github/codeql-action.git
synced 2026-05-08 23:00:26 +00:00
C++: introduce automatic installation of dependencies in the autobuilder
This introduces the possibility to automatically install dependencies when running the C++ autobuilder on an Ubuntu runner, that will be available with upcoming version 2.15.0. An experimental `cpp-autoinstall-dependencies` input is added to the `autobuild` action. When not set, the default is driven by a feature flag.
This commit is contained in:
@@ -12,6 +12,17 @@ inputs:
|
||||
working directory. If this input is not set, the autobuilder runs with
|
||||
$GITHUB_WORKSPACE as its working directory.
|
||||
required: false
|
||||
cpp-autoinstall-dependencies:
|
||||
description: >-
|
||||
Experimental input, the API may change in the future.
|
||||
Set to true to enable trying to automatically detect and install
|
||||
dependencies when running the C/C++ autobuilder, set to anything else
|
||||
to explicitly disable it. This only works when running on Ubuntu and
|
||||
is automatically disabled otherwise. If this input is not set the
|
||||
default is currently driven by the cpp_dependency_installation_enabled
|
||||
feature flag or the CODEQL_CPP_DEPENDENCY_INSTALLATION environment
|
||||
variable.
|
||||
required: false
|
||||
runs:
|
||||
using: 'node16'
|
||||
main: '../lib/autobuild-action.js'
|
||||
|
||||
Reference in New Issue
Block a user