Merge branch 'main' into patch-2

This commit is contained in:
Mingzi
2022-04-15 11:20:55 -07:00
committed by GitHub
4 changed files with 4 additions and 9 deletions

View File

@@ -7,6 +7,7 @@ inputs:
emit_telemetry: emit_telemetry:
description: 'Should this action only emit build telemetry instead of deploying the build artifact?' description: 'Should this action only emit build telemetry instead of deploying the build artifact?'
required: false required: false
default: "false"
token: token:
description: 'GitHub token' description: 'GitHub token'
default: ${{ 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") const emitTelemetry = core.getInput("emit_telemetry")
if (emitTelemetry === "true") { if (emitTelemetry === "true") {
__nccwpck_require__(9557) __nccwpck_require__(9557)
} else if (emitTelemetry === "false") {
main()
} else { } else {
// If emit_telemetry is not set, that indicates an older version of the dynamic workflow that doesn't separate telemetry from deployment main()
main().then(() => __nccwpck_require__(9557))
} }
})(); })();

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") const emitTelemetry = core.getInput("emit_telemetry")
if (emitTelemetry === "true") { if (emitTelemetry === "true") {
require('./pre') require('./pre')
} else if (emitTelemetry === "false") {
main()
} else { } else {
// If emit_telemetry is not set, that indicates an older version of the dynamic workflow that doesn't separate telemetry from deployment main()
main().then(() => require('./pre'))
} }