Add new environment variable for Go binary path

This commit is contained in:
Michael B. Gale 2023-09-28 11:45:38 +01:00
parent d718153f0a
commit c08086a26a
No known key found for this signature in database
GPG key ID: FF5E2765BD00628F
3 changed files with 14 additions and 1 deletions

6
lib/environment.js generated
View file

@ -51,5 +51,11 @@ var EnvVar;
* rather that the init action.
*/
EnvVar["WORKFLOW_STARTED_AT"] = "CODEQL_WORKFLOW_STARTED_AT";
/**
* The path where we initially discovered the Go binary in the system path
* before replacing it with a wrapper script. 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";
})(EnvVar || (exports.EnvVar = EnvVar = {}));
//# sourceMappingURL=environment.js.map