mirror of
https://github.com/actions/deploy-pages.git
synced 2026-02-11 21:01:24 +00:00
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:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user