Merge pull request #30 from actions/decouple-telemetry

Remove the support for older dynamic jekyll workflows
This commit is contained in:
Jess Bees
2022-04-15 13:51:54 -04:00
committed by GitHub
4 changed files with 4 additions and 9 deletions

View File

@@ -7,6 +7,7 @@ inputs:
emit_telemetry:
description: 'Should this action only emit build telemetry instead of deploying the build artifact?'
required: false
default: "false"
token:
description: 'GitHub token'
default: ${{ github.token }}

5
dist/index.js vendored
View File

@@ -7476,11 +7476,8 @@ process.on('SIGTERM', cancelHandler)
const emitTelemetry = core.getInput("emit_telemetry")
if (emitTelemetry === "true") {
__nccwpck_require__(9557)
} else if (emitTelemetry === "false") {
main()
} else {
// If emit_telemetry is not set, that indicates an older version of the dynamic workflow that doesn't separate telemetry from deployment
main().then(() => __nccwpck_require__(9557))
main()
}
})();

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@@ -55,9 +55,6 @@ process.on('SIGTERM', cancelHandler)
const emitTelemetry = core.getInput("emit_telemetry")
if (emitTelemetry === "true") {
require('./pre')
} else if (emitTelemetry === "false") {
main()
} else {
// If emit_telemetry is not set, that indicates an older version of the dynamic workflow that doesn't separate telemetry from deployment
main().then(() => require('./pre'))
main()
}