Add env var alternative to dependency-caching input

This commit is contained in:
Michael B. Gale 2024-09-25 11:10:11 +01:00
parent f3714aed1f
commit 1338dbce25
No known key found for this signature in database
GPG key ID: FF5E2765BD00628F
6 changed files with 20 additions and 4 deletions

6
lib/environment.js generated
View file

@ -80,5 +80,11 @@ var EnvVar;
* We check this later to ensure that it hasn't been tampered with by a late e.g. `setup-go` step.
*/
EnvVar["GO_BINARY_LOCATION"] = "CODEQL_ACTION_GO_BINARY";
/**
* Used as an alternative to the `dependency-caching` input for the `init` Action.
* Useful for experiments where it is easier to set an environment variable than
* change the inputs to the Action.
*/
EnvVar["DEPENDENCY_CACHING"] = "CODEQL_ACTION_DEPENDENCY_CACHING";
})(EnvVar || (exports.EnvVar = EnvVar = {}));
//# sourceMappingURL=environment.js.map