Deprecate 'emit_telemetry' and remove its feature

Since we emit telemetry in a different way, we can remove this feature
from the action and prevent unintentional misuse.
This commit is contained in:
Jess Bees
2022-11-04 12:19:31 -04:00
parent 69a62cdfa4
commit dd5e0e9d1c
12 changed files with 5 additions and 10514 deletions

View File

@@ -37,7 +37,7 @@ process.on('SIGTERM', cancelHandler)
// Main
const emitTelemetry = core.getInput('emit_telemetry')
if (emitTelemetry === 'true') {
require('./pre')
// For compatibility, treat the use of this deprecated input as a no-op
} else {
main()
}