Reorganize and update information re downloading CodeQL zip to tar archive (#51051)
This commit is contained in:
20
data/reusables/codeql-cli/download-codeql-cli.md
Normal file
20
data/reusables/codeql-cli/download-codeql-cli.md
Normal file
@@ -0,0 +1,20 @@
|
||||
The {% data variables.product.prodname_codeql_cli %} download package is a tar archive containing tools, scripts, and
|
||||
various {% data variables.product.prodname_codeql %}-specific files. If you don’t have a {% data variables.product.prodname_enterprise %} license then, by
|
||||
downloading this archive, you are agreeing to the [{% data variables.product.prodname_dotcom %} {% data variables.product.prodname_codeql %} Terms and
|
||||
Conditions](https://securitylab.github.com/tools/codeql/license).
|
||||
|
||||
You should download the {% data variables.product.prodname_codeql %} bundle from https://github.com/github/codeql-action/releases. The bundle contains:
|
||||
|
||||
* {% data variables.product.prodname_codeql_cli %} product
|
||||
* A compatible version of the queries and libraries from https://github.com/github/codeql
|
||||
* Precompiled versions of all the queries included in the bundle
|
||||
|
||||
{% ifversion ghes %}
|
||||
|
||||
{% note %}
|
||||
For {% data variables.product.product_name %}{% ifversion ghes %} {{ allVersions[currentVersion].currentRelease }}{% endif %}, we recommend {% data variables.product.prodname_codeql_cli %} version {% data variables.product.codeql_cli_ghes_recommended_version %}.
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
You should always use the {% data variables.product.prodname_codeql %} bundle as this ensures compatibility and also gives much better performance than a separate download of the {% data variables.product.prodname_codeql_cli %} and checkout of the {% data variables.product.prodname_codeql %} queries. If you will only be running the CLI on one specific platform, download the appropriate `codeql-bundle-PLATFORM.tar.gz` file. Alternatively, you can download `codeql-bundle.tar.gz`, which contains the CLI for all supported platforms.
|
||||
Reference in New Issue
Block a user